com.phasmidsoftware.number.expression.parse.BaseRationalParser.WholeNumber
See theWholeNumber companion object
case class WholeNumber(sign: Boolean, digits: String) extends ValuableNumber
A "Whole" number. According to this definition all integers (Z) are whole numbers. More mathematically speaking, the "whole" numbers are the Natural numbers (N) together with zero.
Value parameters
- digits
-
the digits read in.
- sign
-
whether the parser detected a minus sign.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ValuableNumberclass Objecttrait Matchableclass Any
Members list
In this article