Skip to main content

Round To

An expression editor function that rounds a number to a specific number of decimal places.

Updated yesterday

Overview

This function returns the number rounded to the number of decimal points.


Parameters

roundTo(number, beforeDecimal, afterDecimal)

Number

he number to round.

Before Decimal

Number of digits before the decimal point.

After Decimal

Number of digits after the decimal point.


For example...

roundTo(3.14159, 1, 2)

Returns 3.14.

Did this answer your question?