GNOME Bugzilla – Bug 702058
FLOOR and FLOOR.PRECISE
Last modified: 2018-05-22 14:00:10 UTC
Excel (as of 2010) has two functions: FLOOR and FLOOR.PRECISE with slightly different behaviour. Gnumeric dos not have FLOOR.PRECISE, that is obviously a problem on import. A one argument invocation of FLOOR.PRECISE can be imported as a one-argument FLOOR. Gnumeric's version of FLOOR has the second argument optional, which is a problem on export if the second argument is not given: FLOOR(x) should be exported as FLOOR.PRECISE(x).
see http://office.microsoft.com/en-ca/excel-help/floor-precise-function-HA102753212.aspx
My statement "FLOOR(x) should be exported as FLOOR.PRECISE(x)" is in fact wrong: In Gnumeric FLOOR (-3.2) is -3 while in Excel 2010 according to the above link FLOOR.PRECISE(-3.2,1) is 3. FLOOR(x) in Gnumeric seems to be ROUNDDOWN(x,0) in Excel (and Gnumeric).
> FLOOR.PRECISE(-3.2,1) is 3. I don't see that. Where?
Sorry, typo on my part; this should have been "FLOOR.PRECISE(-3.2,1) is -4". But of course my point still holds: the GNumeric's result for FLOOR (-3.2) differs from Excel's result for FLOOR.PRECISE(-3.2,1) (or FLOOR.PRECISE(-3.2)).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/224.