Bug 89848 - Problem of rounded value in time difference
Summary: Problem of rounded value in time difference
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 15:03 UTC by Olivier Delaune
Modified: 2015-03-06 05:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example of the issue (7.78 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-03-05 15:03 UTC, Olivier Delaune
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Delaune 2015-03-05 15:03:27 UTC
Created attachment 113915 [details]
Example of the issue

Hello, in the file I attached, the cells A1 and A2 contain two dates with 1 second of difference
In the cell A3, I substract A2 to A1, I multiplied the difference by 24*3600 to get the result in second and I convert the it into a number. The result is not exactly 1 but 1.0000000xxx where xxx is something different of 0. It should be exactly one.
Comment 1 Joel Madero 2015-03-06 05:48:43 UTC
This is not a bug per say, it's a limitation of floats. Closing as NOTABUG - please do not reopen. If you want further information you can email the dev list and request someone to explain the issue (it's quite technical but it's a computer limitation not a bug that is resolvable).


Thanks for your understanding.