currency
currency(): (
target,key) =>void
This decorator formats property values as currency in table displays, showing amounts with a dollar sign by default.
Table display result:
| Name | Amount |
|---|---|
| Office Equipment | $5,000.00 |
| Software License | $1,000.00 |
Sets {@link PropertyMeta.isCurrency}.
Returns
(
target,key):void
Parameters
target
object
key
string
Returns
void