#currency->format(amount: number) → string
以此货币书写的金额:£1,234.50。
| 参数 | 接受 |
|---|---|
amount 必填 | number |
示例
<let name="x" type="currency" value="'jpy'" />
<echo>{ $x->format(1234.5) }</echo>$x: currency = 'jpy'
echo $x->format(1234.5)