MantisBT

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000258WebSolarLogFrontendpublic2014-04-25 17:102014-09-08 09:55
ReporterPaolo 
Assigned Tomfrijmann 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformRaspberryOSRasbianOS Version
Product Version 
Target VersionFixed in VersionRelease 1.1.0 
Summary0000258: "bad" formatting of compare values
DescriptionWhen I open compare.php page, difference column values are not equally formatted and decimals are not always the same (that leads to strange formatting when we get precision error).

e.g.:

difference cum. difference
6.91 6.91
4.54 11.45
-7.6 3.85
-16.13 -12.28
-4.54 -16.82
5.8 -11.02
7.31 -3.71
2.67 -1.04
6.09 5.05
9.26 14.31
5.9 20.21
-0.080000000000002 20.13 <-----
0.91 21.04
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000481)
mfrijmann (administrator)
2014-08-21 13:10

Fixed in trunk.
(0000485)
Paolo (reporter)
2014-08-21 16:41

With latest trunk (1856) I'm getting always 12(!) digit after floating point.

What about rounding numbers to 3 digits (zero padded) after floating point?
(0000488)
mfrijmann (administrator)
2014-08-21 17:26

Please refresh/clear/trash your browsers cache!
Then again check the page.
(0000491)
Paolo (reporter)
2014-08-22 13:06

Great! I confirm that it works (2 digits after floating point). Thanks.

- Issue History
Date Modified Username Field Change
2014-04-25 17:10 Paolo New Issue
2014-08-21 12:27 mfrijmann Changeset attached => SourceForge trunk r1856
2014-08-21 13:10 mfrijmann Note Added: 0000481
2014-08-21 13:10 mfrijmann Assigned To => mfrijmann
2014-08-21 13:10 mfrijmann Status new => feedback
2014-08-21 16:41 Paolo Note Added: 0000485
2014-08-21 16:41 Paolo Status feedback => assigned
2014-08-21 17:26 mfrijmann Note Added: 0000488
2014-08-22 13:06 Paolo Note Added: 0000491
2014-09-08 09:55 mfrijmann Status assigned => resolved
2014-09-08 09:55 mfrijmann Fixed in Version => Release 1.1.0
2014-09-08 09:55 mfrijmann Resolution open => fixed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker