Round Decimal Places

Rounds a number to a specified number of decimal places.

Other rounding options are: Round (closest integer), Round Up, and Round Down.

Input Fields

  • number: the number to be rounded

  • decimal places: the number of decimal places to round to

Output Fields

  • rounded: the rounded number

Examples

  • If number is 10.33333333 and decimal places is 2, then rounded is 10.33

  • If number is 10.66666666 and decimal places is 1, then rounded is 10.7

See Also

Functions in Workflows

About the elements of Okta Workflows