Codú
‹ Back to feed

// Stefan Judis · 5 April 2026

Intl can localize units, too! (#tilPost)

Today I learned that Intl allows you to format numbers with currencies or units! console.log( new Intl.NumberFormat("de-DE", { style: "currency", currency: "EUR" }).format(123456789), ); // "123.456.789,00 €" console.log( new Intl.NumberFormat("ja-JP", { style: "currency", currency: "JPY" }).format(...

Stefan Judis
@stefan-judis
www.stefanjudis.com
Read Full Article at www.stefanjudis.com
Stefan Judis@stefan-judis

Discussion 0

Loading

Got something to say?

or to join the conversation.

Learn to build with AI and grow with people doing the same — it's free.