$round
Computes number rounded to precision.
Signature
Arguments
Name
Description
Type
Required
Number
Number
String
Returns
{{$round avg_age}}{
"avg_age": 39.486
}Last updated
Was this helpful?
Computes number rounded to precision.
{{$round number [precision=0] [format]}}
number
Array of numbers.
precision
Decimal precision to round to. Default=0
format
Format string used to format the result
Returns the rounded value.
Example
{{$round avg_age}}{
"avg_age": 39.486
}39
Last updated
Was this helpful?
Was this helpful?