You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the value from database with DOUBLE data type. ex : 100.55
If i have formatted with (.) as thousand sparator and (,) as decimal sparator. The textbox show wrong value (10.055,00)
The text was updated successfully, but these errors were encountered:
saddamrajif
changed the title
$(".number-format").number(true, 2, ',','.'); Show wrong value decimal
$(".number-format").number(true, 2, ',','.'); Show wrong decimal value
Oct 14, 2018
Here is the way that i fixed. First store the value in an variabla when you retrivie from the database, apply the number function to the input and then assign the value via .val()
I get the value from database with DOUBLE data type. ex : 100.55
If i have formatted with (.) as thousand sparator and (,) as decimal sparator. The textbox show wrong value (10.055,00)
The text was updated successfully, but these errors were encountered: