Skip to content

Value localization

Compare
Choose a tag to compare
@jalibu jalibu released this 24 Apr 18:54

This release enables auto value formatting based on your MagicMirrors locale and two additional settings:
useGrouping: boolean adds a grouping character in high value numbers (i.e. BTC 60,000.00 EUR)
currencyStyle: string allows to define the rendering style of currencies (i.e. USD 20.00 vs. $20.00 vs. 20.00 dollars). Possible values are "code", "symbol" or "name"