FromDigits (original) (raw)

scala.util.FromDigits

See theFromDigits companion object

A type class for types that admit numeric literals.

Attributes

Companion

object

Source

FromDigits.scala

Graph

Supertypes

Known subtypes

Members list

Convert digits string to value of type T digits can contain

Convert digits string to value of type T digits can contain

Attributes

Throws

MalformedNumber

if digit string is not legal for the given type

NumberTooLarge

if value of result does not fit into T's range

NumberTooSmall

in case of numeric underflow (e.g. a non-zero floating point literal that produces a zero value)

Source

FromDigits.scala

In this article