About 1,550,000 results
Open links in new tab
  1. How to convert string into float in JavaScript? - Stack Overflow

    Mar 13, 2009 · +(string) will cast string into float. Handy! So in order to solve your problem, you can do something like this: var floatValue = +(str.replace(/,/,'.'));

  2. Convert the string to Double in JavaScript - Reactgo

    Aug 18, 2022 · To convert a string to a double, we can use the built-in parseFloat() function in JavaScript. The parseFloat() function takes the string as an argument and parses it to a …

  3. JavaScript parseFloat() Method - W3Schools

    The parseFloat() method parses a value as a string and returns the first number.

  4. parseFloat() - JavaScript | MDN - MDN Web Docs

    Mar 13, 2025 · The parseFloat function converts its first argument to a string, parses that string as a decimal number literal, then returns a number or NaN. The number syntax it accepts can be …

  5. How to convert a currency string to a double value with jQuery …

    Jun 20, 2024 · In this article, we will convert a currency string to a double value with jQuery or Javascript. There are two popular ways to convert currency string into float string using …

  6. Convert the string to Double in JavaScript - onlinecode.org

    To convert a string to a double, we can use the built-in parseFloat () function in JavaScript. The parseFloat () function takes the string as an argument and parses it to a double. Here is an …

  7. Convert Currency String to Double with jQuery or JavaScript

    Learn how to convert a currency string to a double using jQuery or JavaScript with this easy-to-follow guide.

  8. JavaScript parseDouble - Delft Stack

    Mar 11, 2025 · Explore the intricacies of JavaScript's parseFloat method, the alternative to parseDouble for converting strings and numbers into floating-point values. This article provides …

  9. String To Double JavaScript: A Comprehensive Guide - Bito

    May 5, 2024 · The overall process for converting a string to a double is straightforward: Start with a string variable containing a numeric value; Pass the string variable into the parseFloat() …

  10. parseFloat JavaScript: Syntax and Examples - Flexiple

    Mar 14, 2022 · Learn how to use the JavaScript parseFloat function to convert strings to floating-point numbers accurately. Examples and tips included.

  11. Some results have been removed
Refresh