4 ms·
It’s interesting that they support currency units. Wonder how the conversion works. Probably have to provide conversion factor as well?
by praveen9920 3y ago
It’s interesting that they support currency units. Wonder how the conversion works. Probably have to provide conversion factor as well?
- eminence32 3y agoIt'll fetch current conversation rates from the internet
- sharkdp 3y agoYes. We use up-to-date currency exchange rates from the European Central Bank [1]. https://github.com/sharkdp/numbat/blob/786512175b99c195a7d5beaeb8f2c0593dff36de/numbat-exchange-rates/src/lib.rs#L36 https://github.com/sharkdp/numbat/blob/786512175b99c195a7d5b...
- freistil 3y agoThat's one of these things where you can spend quite some effort to get that right but it's not going to be useful for anything deeper. That's like saying "here, we have implemented Newton's mechanics in fundamental types, now you can in theory simulate a body up from its atoms!" and while that would sound compelling if you don't know much about physics, it would quickly become useless once you know more about physics.