numeral(0.0).add(numeral(0.000002 * 0.24).value()).value() returns 0 instead of 4.8e-7

Author: imalkevichCreated Nov 22, 2023Updated Nov 22, 2023

Hi Team,

Wondering how to use this library if I would like the following code to return me expected value?

numeral(0.0).add(numeral(0.000002 * 0.24).value()).value()

Currently it returns 0, while I would expect it to be 4.8e-7.

Thanks