Skip to Content

Function: money()

function money(amountMinor, currency?): MoneyInput;

Builds a MoneyInput from a minor-unit integer (cents) — the shape every amount field takes.

Parameters

amountMinor

string | number

currency?

string = "KES"

Returns

MoneyInput

Last updated on