Closed clemens-msupply closed 6 months ago
I get the following results here:
const t1 = currency(0.000001, { precision: 10 }).format(); // "$0.000001" const t2 = currency(0.0000001, { precision: 10 }).format(); // "$0.-7"
I guess currency() tries to parse the js number converted to a string ("1e-7") which fails?
I'm unable to reproduce this, what environment is this happening in?
You are right, I missed that we are using a custom formatter... Sorry for that.
I get the following results here:
I guess currency() tries to parse the js number converted to a string ("1e-7") which fails?