floorToUnit
Rounds down value
by unit
.
function floorToUnit(value: number, unit: number): number;
Example
floorToUnit(320980, 10000); // 320000
Rounds down value
by unit
.
function floorToUnit(value: number, unit: number): number;
floorToUnit(320980, 10000); // 320000