bernii / gauge.js

100% native and cool looking JavaScript gauge
MIT License
1.42k stars 391 forks source link

Remove decimal separator #233

Open kamanlid opened 3 years ago

kamanlid commented 3 years ago

Great work! thanks for sharing.

Is there a way to remove the decimal separator (thousands separator) from the values displayed? The Gauge displays numbers above 1000 with separator even if the input value doesn't have it.

Thanks!

SemaphoreOxalis commented 3 years ago

Hi, we have the same question here because we don't use this separator in french ;-)

austenstone commented 2 years ago

Function would need to change.

The commas are added here. https://github.com/bernii/gauge.js/blob/9ec4aca4a3daf0929350f0c8139914a98ab25db4/dist/gauge.js#L96-L110