Product Selector

Fusion 5.12
    Fusion 5.12

    numberFormat

    Description

    Renders a number in the format specified.

    Usage

    In HTML Template Binding

    {{ numberFormat_expression | numberFormat[:format] }}

    In JavaScript

    $filter('numberFormat')(number[, format])

    Parameters

    ParamTypeDetails
    numbernumber

    The number to format.

    format
    (optional)
    string

    string for the numbers used using the Java DecimalFormat pattern. Default: '#,##0.###'