Home Forums Report Bugs yValueFormatString consider 0 as non value

yValueFormatString consider 0 as non value

Viewing 3 posts - 1 through 3 (of 3 total)
  • #6730

    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

    #6733

    # 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

    #6740

    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?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.