Unlike parseSafeInteger, this function does not support specifying the radix, it is always base 10.
This parser can produce numbers that are not safely representable with the JS number type
This method will never produce infinite numbers.
This method supports the scientific notation (e.g., 5e1 produces 50)
Parses a string as a number in base 10.
Unlike parseSafeInteger, this function does not support specifying the radix, it is always base 10. This parser can produce numbers that are not safely representable with the JS number type This method will never produce infinite numbers.
This method supports the scientific notation (e.g., 5e1 produces 50)
If you are parsing integers, prefer parseSafeInteger or parseBigInt instead.