amount: 1234.56,
prepend: $,
decimals: 0
{{ Formatting.formatNumber(1234.56, '$', '', 0) }}
amount: 1234567890,
prepend: $,
decimals: 0
{{ Formatting.formatNumber(1234567890, '$', '', 0) }}
amount: 1234.56,
prepend: $,
decimals: 0
{{ Formatting.formatNumber(1234.56, '$', '', 2) }}
amount: 0.03,
prepend: $,
decimals: 0
{{ Formatting.formatNumber(0.03, '$', '', 3) }}
amount: 1234.56,
prepend: £,
decimals: 0
{{ Formatting.formatNumber(1234.56, '£', '', 0) }}
amount: 25.34
append: %,
decimals: 1
{{ Formatting.formatNumber(25.34, '', '%', 1) }}
amount: -8.64
append: %,
decimals: 2
{{ Formatting.formatNumber(-8.64, '', '%', 2) }}
amount: -17392.34
append: %,
decimals: 2
{{ Formatting.formatNumber(-17392.34, '', '%', 2) }}
amount: 20
append: %,
decimals: 2
{{ Formatting.formatNumber(20, '', '%', 2) }}
amount: 20
append: %,
decimals: 2
showZeroes: false
{{ Formatting.formatNumber(20, '', '%', 2, false) }}
amount: 20.1
append: %,
decimals: 2
{{ Formatting.formatNumber(20.1, '', '%', 2) }}
amount: 20.1
append: %,
decimals: 2
showZeroes: false
{{ Formatting.formatNumber(20.1, '', '%', 2, false) }}
{{ string || '""' }}
{{ DatesUtils.formatDateAndTime(string) }}
{{ string || '""' }}
{{ DatesUtils.formatSimpleDate(string) }}
w/ default key ('id')
{{ array }}
this.$TF.Formatting.arrayToObject(this.array)
{{ Formatting.arrayToObject(array) }}
w/ custom key ('name')
{{ names }}
this.$TF.Formatting.arrayToObject(this.names, 'name')
{{ Formatting.arrayToObject(names, 'name') }}