RxDoubleExt extension
Properties
-
sign
→ double
-
Returns the sign of the double's numerical value.
no setter
Methods
-
abs()
→ double
-
Returns the absolute value of this double.
-
ceil()
→ int
-
Returns the least integer no smaller than
this
.
-
ceilToDouble()
→ double
-
Returns the least integer double value no smaller than
this
.
-
floor()
→ int
-
Returns the greatest integer no greater than
this
.
-
floorToDouble()
→ double
-
Returns the greatest integer double value no greater than
this
.
-
round()
→ int
-
Returns the integer closest to
this
.
-
roundToDouble()
→ double
-
Returns the integer double value closest to
this
.
-
truncate()
→ int
-
Returns the integer obtained by discarding any fractional
digits from
this
.
-
truncateToDouble()
→ double
-
Returns the integer double value obtained by discarding any fractional
digits from
this
.