Hi everyone, I decided to go for the regular 8 digits, now you cannot enter more digits and I fixed the bugs regarding the numbers.
If you input say 2800 USD, it will still show as "0.090 BTC", but with the bottom the 8-digit amount will show:
0.090 BTC0.09007560 BTCHere's more details on the tiny release:
https://github.com/handsomelatino/btc2fiat/releases/tag/v2.1The interaction may feel a bit messy now, but I still prefer to see approximate values such as "13.2 BTC" instead of "13.212311200 BTC". Please experiment with it on your daily usage and let me know, I'm open to suggestions. The BTC/Sats Eur/Usd toggle will change behavior of these numbers quite a bit.
If I select Sats, and write 1, the conversion shows 0.0000000100 BTC.
Why do you show those 2 extra zeroes? It made me think that I could go down to millisats (lightning supports that), but the minimum is 1 sat.
Thanks, this was a bug. It should never show more than 8 precision digits for BTC now.
I like how fast btc2fiat.me loads and that it has no trackers.
One improvement / addition suggestion, would be a completely static version, that lets you pass a URL parameter.
It would be even more lightweight and require no JavaScript.
Let's say I go to
https://btc2fiat.me/?btc=0.5, it would display a static version of the current webpage, with the amount set to 0.5BTC.
And
https://btc2fiat.me/?usd=50.0 would display the exchange rate for 50USD.
My motivation for this idea is:
https://plaintextsports.com/Hey, yeah the plan is to be able to use non-JS but for calculators where you expect immediate input that becomes tricky. I still think it would be cool to have that support. In fact plaintextsports.com is using JS for its toggle light-dark mode.
Also, although still not free of Javascript, you can actually run queries which reduce the number of parameters you use, in fact I have a Chrome shortcut that does this:
https://btc2fiat.me/?q=%s
This lets you run queries such as:
https://btc2fiat.me/?q=0.5+btchttps://btc2fiat.me/?q=200+sats&cur=eurhttps://btc2fiat.me/?q=10+usdSo in the browser, I just type "BTC" (tab) and then whatever is my search "200 usd" and it will show up the value right away. Might be a good idea to show others how it can be used but don't know what is the best way to achieve that.
Thanks!