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

← difference function / div function →

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment