Due to internal ipc requirements, numbers are
sometimes exchanged internally as their
string equivalents. Identified some edge
cases where small numbers may be
exchanged in string exponential notation, this
is undesirable and can potentially lead to
issues on the far side of an IPC serialization.
Added unit tests to confirm expected parsing
and adjusted the bignumber.js reliant code to
ensure full decimal representation is used
instead.
Also manually confirmed csv distribution files
with amounts 0 < x < 1 work as intended.
Due to internal ipc requirements, numbers are sometimes exchanged internally as their string equivalents. Identified some edge cases where small numbers may be exchanged in string exponential notation, this is undesirable and can potentially lead to issues on the far side of an IPC serialization. Added unit tests to confirm expected parsing and adjusted the bignumber.js reliant code to ensure full decimal representation is used instead.
Also manually confirmed csv distribution files with amounts 0 < x < 1 work as intended.