i’m working with Highcharts, and i’m having some problem with number_format.
formating the number $variable = 1008000 :
number_format($variable, 2,',','.')
the result is: 1.008.000,00 (this is what i need)
but, highcharts transform 1.008.000,00 to 1.008
how can i deal with this problem?
Note that in English the number should be 1,008,000.00
You could either change it in your number_format() call or try changing the decimal point value in Hightcharts (http://www.highcharts.com/ref/#lang)