SuperNETorg / Iguana-application

This repository is no longer maintained
7 stars 4 forks source link

Enhancement: we should display kmd to USD price upto 2 decimal point #70

Open kashifali007 opened 7 years ago

kashifali007 commented 7 years ago

Though conversion between KMD to USD seems correct but the total balance in USD is being displayed upto 17 decimal point which i think doesn't look pretty and which should become upto min 2 and max 4 decimal points.

snapshot is attached floatingpoint

pbca26 commented 7 years ago

rounding

@kashifali007 rounding to 2 decimal places doesn't cover all cases. This is what I have on my end. If we apply your logic then I will only see 0.00 balance.

Anyway, I added a workaroud. Let me know if it will fix the issue on your end.