WithRadix [T]
extends Object with FromDigitsA subclass of FromDigits that also allows to convert whole number literals
with a radix other than 10
Supertypes
Object, FromDigitsMembers
def
fromDigits
( digits: String ) : TConvert digits string to value of type T
digits can contain
- sign + or -
- sequence of digits between 0 and 9
Convert digits string to value of type T
digits can contain
- sign + or -
- sequence of digits between 0 and 9
def
fromDigits
( digits: String , radix: Int ) : TConvert digits string with given radix to numberof type T.
E.g. if radix is 16, digits a..f and A..F are also allowed.
Convert digits string with given radix to numberof type T.
E.g. if radix is 16, digits a..f and A..F are also allowed.