Wrapper class for the JavaScript number
primitive type.
Type Details
- yfiles module
- lang
- yfiles-umd modules
- All modules
- Legacy UMD name
- yfiles.lang.Number
Methods
Compares this number with another one.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- obj - Object
- The other number to compare with.
Returns
- ↪number
0
if both numbers are equal,-1
if this number is smaller than the other one,1
otherwise.