Defect #633
Number format not rendering correctly
Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
02/13/2013
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
Chrome/Safari
Description
The formatting of numbers truncates numbers when thousands with commas and decimal places are required. As an example:
//Servoy Object
var context = {}
context.numberFormat = '#,###.00';
context.mynumber = 17388.801
//html template
<td align="right" class="result">$!number.format($numberFormat,$!mynumber)</td>
//template displays
17.00 however with formatting removed correctly returns 17388.801
Additionally inserting the Servoy currency key (¤#,###.00) $ are added to uk browsers and there appears to be no way to switch this to £.
Note this has been tested on both OSX Developer and Linux Ubuntu 12.04 on server. Clients tested are Mac OSX 10.8.2 and Windows 8
History
Updated by Patrick Talbot about 12 years ago
- Status changed from New to Closed
I believe we've found a workaround for this, so I'm closing it for now.