roundTo

Description

Rounds numbers in an Observable to the number of desired decimal places.

API

sum(numDecimalPlaces: Number)

Since

0.5

Parameters

  • numDecimalPlaces: An integer that indicates the number of decimal places to which numbers should be rounded.

Options

None

Returns

Number. (Numbers from Observable, rounded to the correct number of decimal places.)

Examples

Last updated

Was this helpful?