Numeral

Importing the Numeral class

import { Numeral } from "@payvo/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")
2021 © ARK.io | All rights reserved An ARK.io Product