Numeral
Importing the Numeral class
import { Numeral } from "@arkecosystem/platform-sdk-intl";
Format the given number
Numeral.make("en").format(5000)
Format the given number with a currency symbol as suffix
Numeral.make("en").formatAsCurrency(5000, "EUR")
Format the given number with a unit as suffix
Numeral.make("en").formatAsUnit(5000, "kilobyte")
Last updated 3 months ago
Edit Page