Members
(constant) decimalRoundAngle
Amount of decimal places round angles in radians to
(constant) decimalRoundCoordinate
Amount of decimal places round coordinates to
Methods
round(x, type) → {Number}
Rounds number with given constants
Parameters:
Name | Type | Default | Description |
---|---|---|---|
x |
Number | The number to round | |
type |
"coordinate" | "angle" | coordinate |
Returns:
- Type
- Number