toUnits

function toUnits(
amount: string | number,
decimals: BigNumberish,
): BigNumber;

Parameters

Type

let amount: string | number;

Type

let decimals: BigNumberish;

Returns

let returnType: BigNumber;