[Libreoffice-bugs] [Bug 39900] New: Feature enhancement: Frac()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 7 07:49:58 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39900

           Summary: Feature enhancement: Frac()
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: BASIC
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: guraknugen at gmail.com


There doesn't seem to be a Frac() function available in LibreOffice Basic, so I
always have to use my own function (which is probably slower than a native one
would be):

Function Frac(Value As Double) As Double
    Frac=Value-Fix(Value)
End Function

For example, Frac(-12.3456789) ⇨ -0.3456789

I use Frac() all the time and I can't be the only one who need it, can I? Among
other things it's nice for separating time from time+date, even if there are
other ways to do that.


FRAC() also seems to be missing as a cell function.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list