Skip to main content

Documentation Index

Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt

Use this file to discover all available pages before exploring further.

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
numbernumberThe number to format.
format (optional)stringstring for the numbers used using the Java DecimalFormat pattern. Default: ’#,##0.###’