Skip to content

What's the significance of the double # in ##,#? #117

@adamdport

Description

@adamdport

In the docs https://github.com/telerik/kendo-intl/blob/master/docs/num-formatting/index.md you can see the example of the comma operator

The "," specifier—A group separator placeholder. It inserts a localized group separator between each group.

import { formatNumber } from '@telerik/kendo-intl';
formatNumber(12345678, "##,#"); // 12,345,678

What's the difference between ##,# and #,#? I played with it in stackblitz and can't seem to find any difference. Could your reply be added to that doc for the next guy? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions