Published
Edited
Jun 11, 2019
Insert cell
Insert cell
Insert cell
Insert cell
hugeNumber.toString()
Insert cell
germanNumberFormat = new Intl.NumberFormat('de-CH')
Insert cell
germanNumberFormat.format(hugeNumber)
Insert cell
frenchNumberFormat = new Intl.NumberFormat('fr-CH')
Insert cell
frenchNumberFormat.format(hugeNumber)
Insert cell
usNumberFormat = new Intl.NumberFormat('en-US')
Insert cell
usNumberFormat.format(hugeNumber)
Insert cell
arNumberFormat = new Intl.NumberFormat('ar-EG')
Insert cell
arNumberFormat.format(hugeNumber)
Insert cell
new Intl.NumberFormat('de-CH', {style: "currency", currency: "USD"}).format(hugeNumber)
Insert cell
new Intl.NumberFormat('de-CH', {style: "percent", maximumFractionDigits: 1}).format(0.643362)
Insert cell
new Intl.NumberFormat('pl-PL', {maximumFractionDigits: 0}).format(3687.5714285714)
Insert cell
new Intl.NumberFormat('de-CH', {maximumFractionDigits: 0}).format(3687.5714285714)
Insert cell
Insert cell
Insert cell
Insert cell
date.toString()
Insert cell
new Intl.DateTimeFormat('en-US').format(date)
Insert cell
new Intl.DateTimeFormat('en-GB').format(date)
Insert cell
new Intl.DateTimeFormat('de-AT').format(date)
Insert cell
new Intl.DateTimeFormat('fr-FR').format(date)
Insert cell
new Intl.DateTimeFormat('ko-KO').format(date)
Insert cell
new Intl.DateTimeFormat('de-CH', {weekday: 'long', day: 'numeric', month: 'long', year: 'numeric', timeZoneName: 'long', era: 'long', hour: 'numeric', minute: 'numeric'}).format(date)
Insert cell
Insert cell
FormatMessage = import('intl-messageformat')
Insert cell
msgFormat = FormatMessage.default(`Masz {numberOfCalls, plural,
zero {0 połączeń}
one {1 połączenie}
few {# połączenia}
many {# połączeń}
}.`, "pl-PL")
Insert cell
msgFormat.format({numberOfCalls: 114})
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more