All Components

NumberPipe

Formats a number value to a string based on the requested format. This pipe uses the IntlService.

See IntlService

  <ul>
    <li>{{decimal | kendoNumber:'c' }}</li>
    <li>{{stringNumber | kendoNumber:'p' }}</li>
    <li>{{int | kendoNumber:'##.00' }}</li>
 </ul>

Methods

transform

Converts a Number object to a string based on the specified format. If no format is provided, the default short date format is used.

Parameters

value any

The date to format.

format? string | NumberFormatOptions

The format string or options.

Returns

any The formatted number.

In this article