tomy0000000 / Coinc

💰💱Alfred Workflow for currencies conversion
https://alfred.app/workflows/tomy0000000/coinc/
MIT License
55 stars 6 forks source link

Not getting exchange value #14

Closed jdenormandie closed 3 years ago

jdenormandie commented 3 years ago

For some reason I am not getting the value of USD for NGN. Exchange value for other currencies work as expected. Also, I read in another Issue that commas were added, but they don't seem to be appearing here.

Screen Shot 2020-11-21 at 11 33 14 AM

tomy0000000 commented 3 years ago

Thanks for reporting. I've just confirmed this is a floating point rounding bug caused by python 2. Since Python 2 used by this workflow is provided by macOS and is deprecate, I will figure out a solution shortly, stay tuned.

tomy0000000 commented 3 years ago

@jdenormandie I've draft an update of v1.3.1, which should be good enough to fix the bug. Pleases download and test it, and close the issue if that works.

Kindly notice, you need to set precision to at least 3 point for it to calculate the correct result.

jdenormandie commented 3 years ago

Thanks, v1.3.1 is working after setting the precision to 3.