View source

abstract thx.unit.mass.Slug(Decimal)

Available on all platforms

Class Fields

inline var symbol(default,null):String

inline function equals(self:Slug, that:Slug):Bool

inline function fromDecimal(value:Decimal):Slug

inline function fromFloat(value:Float):Slug

inline function fromInt(value:Int):Slug

inline function greater(self:Slug, that:Slug):Bool

inline function greaterEquals(self:Slug, that:Slug):Bool

inline function less(self:Slug, that:Slug):Bool

inline function lessEquals(self:Slug, that:Slug):Bool

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

inline function notEquals(self:Slug, that:Slug):Bool

Instance Fields

inline function abs():Slug

inline function add(that:Slug):Slug

inline function divide(that:Decimal):Slug

inline function equalsTo(that:Slug):Bool

inline function greaterEqualsTo(that:Slug):Bool

inline function greaterThan(that:Slug):Bool

inline function lessEqualsTo(that:Slug):Bool

inline function lessThan(that:Slug):Bool

inline function max(that:Slug):Slug

inline function min(that:Slug):Slug

inline function modulo(that:Decimal):Slug

inline function multiply(that:Decimal):Slug

function nearEqualsTo(that:Slug):Bool

inline function negate():Slug

inline function notEqualsTo(that:Slug):Bool

inline function subtract(that:Slug):Slug

inline function toCentigram():Centigram

inline function toDalton():Dalton

inline function toDecimal():Decimal

inline function toDrachm():Drachm

inline function toFloat():Float

inline function toGrain():Grain

inline function toGram():Gram

inline function toHundredweight():Hundredweight

inline function toKilogram():Kilogram

inline function toMegagram():Megagram

inline function toMicrogram():Microgram

inline function toMilligram():Milligram

inline function toNanogram():Nanogram

inline function toOunce():Ounce

inline function toPicogram():Picogram

inline function toPlankMass():PlankMass

inline function toPound():Pound

inline function toQuarter():Quarter

inline function toSlug():Slug

inline function toSolarMass():SolarMass

inline function toStone():Stone

inline function toString():String

inline function toTon():Ton