-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
Hi there,
I having a problem while formatting some number.
So I have this number: 1081.2
The expected result would be: 1.081,2
But instead I got this result: 10.812
JS
$(".money").priceFormat({ prefix: '', centsSeparator: ',', thousandsSeparator: '.', centsLimit: 0, limit: 9999999999999 });
At first I thought it's because of my format was wrong, but I've tried
$(".money").priceFormat({ prefix: '', centsSeparator: ',', thousandsSeparator: '.', centsLimit: 1, limit: 9999999999999 });
It returns as I expected, but if I type any number behind 2, it just straight up move my 2 in front of cent separator.
I expected them to just keep my 2 and add number behind comma.
I don't know, maybe I just got confused. Any help would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels