ObjDoubleExt extension

on

Properties

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

Methods

abs() double
Returns the absolute value of this integer.
ceil() int
Returns the least integer that is not smaller than this number.
ceilToDouble() double
Returns the least integer double value no smaller than this.
floor() int
Returns the greatest integer no greater than this number.
floorToDouble() double
Returns the greatest integer double value no greater than this.
remainder(num other) double
round() int
Returns the integer closest to this number.
roundToDouble() double
Returns the integer double value closest to this.
truncate() int
Returns the integer obtained by discarding any fractional part of this number.
truncateToDouble() double
Returns the integer double value obtained by discarding any fractional digits from this.

Operators

operator %(Obj<num> other) Obj<double>
operator *(Obj<num> other) Obj<double>
operator +(Obj<num> other) Obj<double>
operator -(Obj<num> other) Obj<double>
operator /(Obj<num> other) Obj<double>
operator unary-() Obj<double>
operator ~/(Obj<num> other) Obj<int>