number

Returns number formatted with or without decimals.

1
{{$number [value]}}
Example
format JSON XML
Data JSON
1
2
3
4
5
{
"Product": {
"price": "5350200.6450"
}
}
HTML
1
{{$number Product.price}}
Result
Data XML
1
2
<Product price="5350200.6450">
</Product>
HTML
1
{{$number Product._price}}
Result

Params

1
2
3
4
{{$number
"string value"
decimals=2
}}