Numeral class

A utility class for formatting numbers in either Indian or International numeral systems.

This class provides methods to format numbers based on the chosen numeral system. It supports formatting numbers with up to three digits after the decimal point.

Constructors

Numeral(num number, {int digitAfterDecimal = 0})
Creates a Numeral instance with the specified number and optional digitAfterDecimal.

Properties

digitAfterDecimal int
The number of digits to display after the decimal point.
final
hashCode int
The hash code for this object.
no setterinherited
indian String
Formats the number in the Indian numeral system.
no setter
international String
Formats the number in the International numeral system.
no setter
number num
The number to be formatted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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