I've read
https://en.bitcoin.it/wiki/Proper_Money_Handling_(JSON-RPC) but am still unsure as to what to do.
I'm using the JSON library in ruby to parse the json result from bitcoind
And for things like balance it will return a float.
I am wondering how best to proceed with the representation of bitcoin balances or numbers in general in my application.
Should I leave it as a float(from what I've read it's not recommended)?
Convert it to BigDecimal
Convert it to an integer (this would mean multiplying it by 100,000,000 right)?
What experience has anyone else had with this, which did they choose and why?
Whats the simplest option?