Skip to content

[i18n] Format numbers according to locale #24495

@benknight

Description

@benknight

Very large numbers are left unformatted in TablePagination, for example:

image

<TablePagination
  rowsPerPageOptions={[25, 50, 100]}
  component="div"
  count={103177}
  rowsPerPage={25}
  page={0}
/>

Probably it should get formatted via Number.prototype.toLocaleString()

Benchmarks

Metadata

Metadata

Assignees

Labels

component: TablePaginationThe React component.i18nInternationalization. The infrastructure used by localization.l10nLocalization.package: @mui/baseSpecific to @mui/base (legacy).scope: tableChanges related to the table.type: new featureExpand the scope of the product to solve a new problem.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions