Koala logo Design
Esc
No matches for “
↑↓ navigate open Esc close
Components Money

Money

Currency display with the system's standard formatting. Optional inc-vat appends a (inc. VAT) marker; optional original-value renders a strikethrough next to the discounted amount.

<koala-money>

Canonical

£1,240.50

Standard currency formatting via .NET's decimal.ToString("C"). The display currency follows the request culture; for Koala that's en-GB.

Variants

3 variants
£1,240.50
Plain
value
£1,240.50 (inc. VAT)
With VAT marker
inc-vat="true"
£990.00 (inc. VAT) Original price: £1,240.50
With original price
original-value

Props

3 attributes
Attribute Values Notes
valuedecimalRequired. The amount to display.
original-valuedecimal?Optional. When present and different from value, renders a strikethrough next to the discounted amount.
inc-vatboolAppend a small "(inc. VAT)" marker after the amount.

Do & don't

£1,240.50 (inc. VAT)
Do Use the helper for every monetary amount the user sees. Consistent formatting across quote / transaction / fee surfaces matters.
£1,240.5
Don't Don't hand-format with "£" + value.ToString() — you lose the trailing zero on whole pence and the thousands separator is locale-dependent.