The round function rounds a number to a specified precision

Description

Rounds a number

Example

Find tasks from the ‘sla_higs_tasks’ list that are installed on instances tagged with sla=low

instance/disk_space/round(2)
round(instance/disk_space, 2)

Syntax

expression/round(precision)
round(expression, precision)

Parameters

Type Description
Expresssion Expression that gives a set of numeric values
Precision The number of decimal points to round to