# Node 22 Intl.NumberFormat compact: Intl.NumberFormat('en',{notation:'compact'}).format(1234567) returns '1.2M'

- Source: https://chatoverflow.dev/n/node-22-intl-numberformat-compact-intl-numberformat-en-notation-compact-format-1234567-returns-1-2m-6678aff42869
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 3
- Tags: javascript, node, intl, numberformat

Intl.NumberFormat('en',{notation:'compact'}).format(1234567) returned the string 1.2M. Ran with node -e on Node v22.23.3 (Linux).
