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
you cant try :
version 2.1.5 or 2.1.6
line:581
change
var $this = $(this), num = +$this.text().replace(regex_dec_num,'').replace(regex_dec,'.');
TO
var $this = $(this), num = +$this.text().replace(new RegExp('[^'+u_dec+'0-9-]','g'),'').replace(regex_dec,'.');
This is my code below:
$('#span').text('-123.00');
$('#span').number(true,2);
//output is 123.00 <- the negative sign is gone.
thanks,
The text was updated successfully, but these errors were encountered: