5 Nov 2012 9:58 AM #1
Unanswered: How can I format floats in a list view which shows data from store?
My list view contains some floats from my store, but they contains "." as decimal point and the a variable number of zeros behind the dot.
How can I format them nicely, with a comma as seperator and only 2 decimals?
5 Nov 2012 10:46 AM #2
At the End Drew Neil personalized the Title of the Detail Panel. This should do the trick for you, if you use a template and the functionality in your list.
And Stackoverflow says:
var x = 5.0364342423;
will print 5.04.