You must be logged in to post your query.
Home › Forums › Report Bugs › yValueFormatString consider 0 as non value
It seems that yValueFormatString when using # as formater that 0 is considered as a non value. I assume this is the same for the other valueFormatStrings functions.
Here is the fiddle: http://jsfiddle.net/TA9g5/2/
See the first column. You would expect it to print 0.00 but instead it prints .00
Thanks
# is a placeholder for non-zero values. In case you want zero to be displayed, you should use “#0.##”. Here is a fiddle showing the same. http://jsfiddle.net/TA9g5/4/
— Sunil Urs
Thanks though if I recall it says for the # formater in the docs “if a digit is present”. I suppose anything above a 0 is considered a digit and zero is not?
You must be logged in to reply to this topic. Login/Register