Prism · Locale

$localeNumber

A number for a reader in a given locale: grouping and the decimal mark follow the locale. locale is required, and style may be percent.

The source
{ attendance: 1234.5 }
The config
{
  $localeNumber: {
    value: { $ref: '$.attendance' },
    locale: 'de-DE',
    minDigits: 1,
  },
}
What comes out
'1.234,5'
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.