LexoDecimal class

Constructors

LexoDecimal(LexoInteger mag, int sig)

Properties

hashCode int
The hash code for this object.
no setterinherited
mag LexoInteger
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sig int
getter/setter pair

Methods

add(LexoDecimal other) LexoDecimal
ceil() LexoInteger
compareTo(LexoDecimal other) int
equals(LexoDecimal other) bool
floor() LexoInteger
format() String
getScale() int
getSystem() LexoNumeralSystem
isExact() bool
multiply(LexoDecimal other) LexoDecimal
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setScale(int nsig, [bool ceiling = false]) LexoDecimal
subtract(LexoDecimal other) LexoDecimal
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

from(LexoInteger integer) LexoDecimal
half(LexoNumeralSystem sys) LexoDecimal
make(LexoInteger integer, int sig) LexoDecimal
parse(String str, LexoNumeralSystem system) LexoDecimal