javascript parseFloat ‘500,000’ returns 500 when I need 500000 August 11, 2023 by Tarik parseFloat( theString.replace(/,/g,'') );