This is the preev replacement that seems to work closest to what I'd like, but I would ask you consider some (hopefully) small improvements:
1. Digit grouping. Right now, if I put there 10 BC, preecs shows 223219.70 USD. While the tab title tells nicely the current BTC price (22,322 USD), I would also like to see something similar on the lower area/edit box too, i.e. numbers like 223,219.70; you already have this for sats, maybe applying the same logic everywhere is not something big.
2. This is less important, however: multiple dots are allowed in the edit box (0..1) and also multiple 0 before the dot are allowed (00.01 BTC)
Hey buddy
thank you for the kind words. The way I have it setup to show 2 decimal places and the formatting used for displaying the sats side and rounded prices unfortunately do not work together. Javascript won't spit out the formatted number without rounding it, thus losing the actual "cents" value. That is why I opted to keep it plain digit with decimal only. Also I rarely find myself adding anything to the BTC side over 1
, maybe I need to start hanging out where you hang out on the forums here man LOL j/k
I'm sure writing a custom function would solve it, but for now as far as built in commands go, there is nothing I've discovered that allows me to "easily" present the whole number like $22,338.65, it's either $22,389 or 22388.65.
Love this. Great job Zip.
I think you also did
https://iemsg.com/, which is equally brilliant and useful.
Gratefully,
Steeley
Hey buddy
glad you like it and thank you for the kind words. That is true I created it for myself to send payment info to ppl because I was not satisfied with the other options available. I don't advertise it because it is a premium domain that I intend on selling at some point. We'll worry about that bridge when we get to it though, eh. Thanks again man!