Available on all platforms

Class Fields

function equals(self:AmountOfSubstance, that:AmountOfSubstance):Bool

function fromPair(info:{value:Decimal, symbol:String}, ?pos:PosInfos):AmountOfSubstance

function fromString(s:String):AmountOfSubstance

function greater(self:AmountOfSubstance, that:AmountOfSubstance):Bool

function less(self:AmountOfSubstance, that:AmountOfSubstance):Bool

inline function mole(value:Mole):AmountOfSubstance

inline function poundMole(value:PoundMole):AmountOfSubstance

Instance Fields

var symbol(get,null):String

var value(get,null):Decimal

function equalsTo(that:AmountOfSubstance):Bool

function greaterThan(that:AmountOfSubstance):Bool

function lessEqualsTo(that:AmountOfSubstance):Bool

function lessThan(that:AmountOfSubstance):Bool

function nearEqualsTo(that:AmountOfSubstance):Bool

function toMole():Mole

function toString():String