T trait

WithRadix [T]

extends Object with FromDigits

A subclass of FromDigits that also allows to convert whole number literals with a radix other than 10

Supertypes

Object, FromDigits

Members

def 

fromDigits

( digits: String ) : T

Convert 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 ) : T

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.

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.