Seems to be a known issue: https://github.com/teamdf/jquery-number/issues/43
I switched to use autoNumeric which seems to work good for my cause!
Frage
I use jQuery Number Plugin to format my percentage values to my desired format on a website. However, when i try to format the value 0.5
to look like 0,50
the value becomes 5,00
.
The error seems to appear when I set the decimal delimiter to something other than .
. Why is this?
Se fiddle for example
Lösung
Seems to be a known issue: https://github.com/teamdf/jquery-number/issues/43
I switched to use autoNumeric which seems to work good for my cause!