BigIntFromDigits
scala.util.FromDigits.BigIntFromDigits
object BigIntFromDigits extends WithRadix[BigInt]
Attributes
- Source
- FromDigits.scala
- Graph
-
- Supertypes
- Self type
-
BigIntFromDigits.type
Members list
Value members
Concrete methods
Convert digits string with given radix to number of type T
. E.g. if radix is 16, digits a..f
and A..F
are also allowed.
Convert digits string with given radix to number of type T
. E.g. if radix is 16, digits a..f
and A..F
are also allowed.
Attributes
- Source
- FromDigits.scala
Inherited methods
Convert digits
string to value of type T
digits
can contain
Convert digits
string to value of type T
digits
can contain
- sign
+
or-
- sequence of digits between 0 and 9
Attributes
- Throws
-
MalformedNumber
if digit string is not legal for the given type
NumberTooLargeif value of result does not fit into
T
's rangeNumberTooSmallin case of numeric underflow (e.g. a non-zero floating point literal that produces a zero value)
- Inherited from:
- WithRadix
- Source
- FromDigits.scala
In this article