Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
number-round
Rounds a number to a specified number of decimal places
Parameter
Type
Description
self
number
The number to round
decimals
number
The number of decimal places to round to
return
number
The rounded number