LanguageNumberScheme class abstract

Implementers

Constructors

LanguageNumberScheme()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxDecimals int
The maximum amount of decimal values supported by the scheme.
no setter
maxNumber num
The largest number supported by the scheme.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasComma(num number) bool
Checks if the given number has a comma. (3.04 -> true, 3 -> false)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeDecimalZeros(num number) num
Removes all trailing zeros after a comma.
splitByComma(num number) → Tuple2<num, num?>
Splits a given number by it's comma, if it has one. Returns both parts of the number if a comma is present, otherwise returns the original number and null.
toString() String
A string representation of this object.
inherited
toWord(num number) String
Converts a given number to a spelled out version of itself.

Operators

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