The round() function rounds a number to a specified number of digits.
Syntax
round(value, precision)
Argument | Description |
value
(required)
|
An expression that results in a numeric value (i.e., a hard-coded number, a reference to a numeric attribute, or a function that returns a numeric value). |
precision
(required) |
The number of digits to which the value will be rounded. |
Where Available
Available in all places the expression or injected expression icon is visible, as well as within Filter fields on Cards, Tables and List/View sections.
Examples
Where | Example(s) |
Business rules: Set Value
Attribute expression |
round(FTE__c, 2)
|
Field Editability expression
Tab Visibility expression Business rules: Condition |
round(Num1__c,2) < round(Num2__c,2)
|
Business rules: Notification Subject
Business rules: Notification Body Dynamic Filter |
{!round(Hours_Worked__c,1)}
|
Embedded Section URL attribute
Business Rule: URL Call External View URL on List/View |
{!if(round (Employee_Average_Salary__m.actual__d.timePeriod(Day_Zero__c), 0)>100, URL1__c, URL2__c)} |
Metric expression | round(averageif(Initiative__t, OPEX__m),2)
|