Skip to main content

roundValues

geovisto-mapReadme | API


geovisto-map / roundValues

Function: roundValues()

roundValues(roundNumber, roundTo): number

It rounds number to specified precision

Parameters

roundNumber: string | number

number to be rounded

roundTo: string | number

precision

Returns

number

Source

model/internal/utils/MathUtils.ts:7