Problem:
I got this input:
"23,234.34"
with the following locale, locale = "us-US"
I want this result : 23234.34
in number var.
So i use parseFloat but this function don't take a locale as parameter, When i use the string "23,234.34", the function return Not a number (NAN).
if ($('input#feesamount').val() != '') {
$funding = {
feeAmount: parseFloat($('input#feesamount').val()),
acquirerregistrationid: $('input#registerid').val(),
acquirer: $('select#acquirer').val()
};
Do you know a function who can help me ?