View source

abstract thx.unit.Current(CurrentImpl) from CurrentImpl to CurrentImpl

Available on all platforms

Class Fields

inline function ampere(value:Ampere):Current

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

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

function fromString(s:String):Current

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

function greatersEquals(self:Current, that:Current):Bool

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

function lessEquals(self:Current, that:Current):Bool

function nearEquals(self:Current, that:Current):Bool

Instance Fields

var symbol(get,null):String

var value(get,null):Decimal

function abs():Current

function add(that:Current):Current

function divide(that:Decimal):Current

function equalsTo(that:Current):Bool

function greaterEqualsTo(that:Current):Bool

function greaterThan(that:Current):Bool

function lessEqualsTo(that:Current):Bool

function lessThan(that:Current):Bool

function max(that:Current):Current

function min(that:Current):Current

function modulo(that:Decimal):Current

function multiply(that:Decimal):Current

function nearEqualsTo(that:Current):Bool

function negate():Current

function subtract(that:Current):Current

function toAmpere():Ampere

function toString():String