A subclass ofFromDigits that also allows to convert number literals containing a decimal point ".".
A subclass ofFromDigits that also allows to convert number literals containing a decimal point ".".
A subclass ofFromDigitsthat allows also to convert number literals containing a decimal point "." or an exponent('e' | 'E')['+' | '-']digit digit*.
A subclass ofFromDigitsthat allows also to convert number literals containing a decimal point "." or an exponent('e' | 'E')['+' | '-']digit digit*.
The base type for exceptions that can be thrown fromfromDigits conversions
The base type for exceptions that can be thrown fromfromDigits conversions
Thrown if digit string is not legal for the given type
Thrown if digit string is not legal for the given type
Thrown if value of result does not fit into result type's range
Thrown if value of result does not fit into result type's range
Thrown in case of numeric underflow (e.g. a non-zero floating point literal that produces a zero value)
Thrown in case of numeric underflow (e.g. a non-zero floating point literal that produces a zero value)
A subclass ofFromDigits that also allows to convert whole number literals with a radix other than 10
A subclass ofFromDigits that also allows to convert whole number literals with a radix other than 10
Convert digit string to Double number
Convert digit string to Double number
The string to convert
if digits is not a legal digit string for floating point numbers..
if the resulting number is infinite
if the resulting number is 0.0d, yet the digits string contains non-zero digits before the exponent.
Convert digit string to Float number
Convert digit string to Float number
The string to convert
if digits is not a legal digit string for floating point numbers.
if the resulting number is infinite
if the resulting number is 0.0f, yet the digits string contains non-zero digits before the exponent.
Convert digit string to Int number
Convert digit string to Int number
The string to convert
The radix
if digits is not a legal digit string. Legal strings consist only of digits conforming to radix, possibly preceded by a "-" sign.
if number does not fit within Int range
Convert digit string to Long number
Convert digit string to Long number
The string to convert
The radix
if digits is not a legal digit string. Legal strings consist only of digits conforming to radix, possibly preceded by a "-" sign.
if the resulting number does not fit within Long range