Words
106
Reading
1 min
Listen
Play
4y
It's actually a very dumb reason hahahahah
As you can see, base is the price, and the other one, for some reason, is always 1. So in my head, x/1 = x, and I needed x, but didn't want to just leave the other one without using it when it might be important? So I justified it as "ahhh that's probably what you divide it by!". But I now realize that doesn't make much sense hahah.
I don't honestly know what base and quote mean. :) I just know it works, whether by coincidence or intention. Maybe one day it will not be 1 anymore and the script won't work anymore!
RE: Calculating the USD Vote Value for a Hive account