Closed JimmyZDD closed 5 months ago
import BigNumber from 'bignumber.js'; test('toFixed', async () => { const num = BigNumber(321201.59); const temp = num.toFixed(2, BigNumber.ROUND_HALF_UP); expect(temp).toBe('321201.60'); });
Failed
Failed