I did the float conversion in javascript using the following formula:
parseInt (parseFloat (amount) * 10 ** 8)
How do I convert back to the correct value, eg 0.01
Tnx.
I did the float conversion in javascript using the following formula:
parseInt (parseFloat (amount) * 10 ** 8)
How do I convert back to the correct value, eg 0.01
Tnx.
In reverse order logically, parse to float and / 10^8
Thank you very much, the conversions worked out.