Description
Renders a number in the format specified.Usage
In HTML Template Binding
{{ numberFormat_expression | numberFormat[:format] }}
In JavaScript
$filter('numberFormat')(number[, format])
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
{{ numberFormat_expression | numberFormat[:format] }}
$filter('numberFormat')(number[, format])
| Param | Type | Details |
|---|---|---|
| number | number | The number to format. |
| format (optional) | string | string for the numbers used using the Java DecimalFormat pattern. Default: ’#,##0.###’ |
Was this page helpful?