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
$.fn.customizePriceToFloat=function(){if($(this).is('input'))field=$(this).val()||[];elsefield=$(this).html();field=field.replace(/([^,\d])/g,'');// All dot cleanfield=field.replace(/\,(?=[^.]*$)/,".");// last comma convert to dotreturnparseFloat(field);// convert};
using this code
priceToFloat()
return a wrong value.Thanks!
The text was updated successfully, but these errors were encountered: