$field->toFormattedPrice()
Convert field to formatted price
Parameters
| Name | Type | Default |
|---|---|---|
$field |
Kirby\Content\Field |
- |
$currency |
null or string |
null |
Return type
string
Convert field to formatted price
| Name | Type | Default |
|---|---|---|
$field |
Kirby\Content\Field |
- |
$currency |
null or string |
null |
string