Home forums Using CanvasJS How to preserve zeros after decimal point in tooltip? Reply To: How to preserve zeros after decimal point in tooltip?

#23010

Vishwas R
Keymaster

@ethicalsector,

formatNumber accepts optional culture parameter aswell. If you like to use contentFormatter and apply cultureInfo, you can pass the culture to formatNumber and format according to your requirements. Please take a look at this updated JSFiddle.


Vishwas R
Team CanvasJS