Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1744 closed defect (fixed)

The Number.formatNumber() function in main.js is not correct in all cases

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.2.2
Component: web Version:
Keywords: Cc:

Description

For example, when formatting to two decimals.

  • 1.054 results in 1.5. The leading 0 in the decimal part is lost.
  • 1.999 results in 1.100. The overflow in the decimal part is not carried over to the non-decimal part.

Change History (2)

comment:1 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: newclosed

(In [6248]) Fixes #1744: The Number.formatNumber() function in main.js is not correct in all cases

comment:2 by Nicklas Nordborg, 11 years ago

(In [6421]) References #1744: The Number.formatNumber() function in main.js is not correct in all cases

Seems like this fix [6248] was lost when merging 3.2.2 changes to the trunk in [6268].

Note: See TracTickets for help on using tickets.