Awee

currency

Currency converts a numeric value between currency units by applying a unit multiplier ratio.

Currency converts a numeric value between currency units by applying a unit multiplier ratio. Useful for converting between minor (cents) and major (dollars) units.

Input

int float string

Parameters

#TypeRequired
0intyes
1intyes

Returns

int

Examples

{{ price | currency:1,100 }}
{{ cents | currency:100,1 }}

How is this guide?

On this page