When i run the curl command:
curl -X POST http://127.0.0.1:18082/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"getbalance"}' -H 'Content-Type: application/json'
It gives me a balance like so:
{
"id": "0",
"jsonrpc": "2.0",
"result": {
"balance": 140000000000,
"unlocked_balance": 50000000000
}
}
It's just one big integer, how do i convert it into the real balance?
It impossible to just add a decimal place because i don't what the actual balance is.