ObjDoubleExt extension

on

Properties

sign double

Available on Obj<double>, provided by the ObjDoubleExt extension

The sign of the double's numerical value.
no setter

Methods

abs() double

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the absolute value of this integer.
ceil() int

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the least integer that is not smaller than this number.
ceilToDouble() double

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the least integer double value no smaller than this.
floor() int

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the greatest integer no greater than this number.
floorToDouble() double

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the greatest integer double value no greater than this.
remainder(num other) double

Available on Obj<double>, provided by the ObjDoubleExt extension

round() int

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the integer closest to this number.
roundToDouble() double

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the integer double value closest to this.
truncate() int

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the integer obtained by discarding any fractional part of this number.
truncateToDouble() double

Available on Obj<double>, provided by the ObjDoubleExt extension

Returns the integer double value obtained by discarding any fractional digits from this.

Operators

operator %(Obj<num> other) Obj<double>

Available on Obj<double>, provided by the ObjDoubleExt extension

operator *(Obj<num> other) Obj<double>

Available on Obj<double>, provided by the ObjDoubleExt extension

operator +(Obj<num> other) Obj<double>

Available on Obj<double>, provided by the ObjDoubleExt extension

operator -(Obj<num> other) Obj<double>

Available on Obj<double>, provided by the ObjDoubleExt extension

operator /(Obj<num> other) Obj<double>

Available on Obj<double>, provided by the ObjDoubleExt extension

operator unary-() Obj<double>

Available on Obj<double>, provided by the ObjDoubleExt extension

operator ~/(Obj<num> other) Obj<int>

Available on Obj<double>, provided by the ObjDoubleExt extension