How to get _integer_ satoshi values from JSON RPC? It seems that RPC calls for getting JSON information on blocks return &quot;value&quot; fields in bitcoins, not in satoshis.
This means that there is a conversion from integer to float somewhere, which is disturbing since it may introduce rounding errors (see context below).
Is there any way to get the integer satoshi amounts directly in the JSON?
Otherwise, is it completely safe to just multiply the float value by 10^8 and take the integer part?
Is there a better way to directly obtain the integer satoshi value?
Thanks!

Let me give some context.
A typical concern is that, for instance, most systems have no float of value (exactly) 0.1; they generally have a (tiny) difference.
On my machine, I obtain:
python3.6 -c 'print(&quot;%.20f&quot;%0.1)'
0.10000000000000000555

python3.6 -c 'print(0.1+0.1+0.1==0.3)'
False

This is generally safe, but in my context this raises messy issues, so dealing only with integers is appealing.
bitcoind internally treats all amounts as an integer and only displays the value as a decimal for the RPC. Formatting for display does not introduce any floating point precision issues as it still just does integer conversion with some string formatting to make it look like a decimal. So it is perfectly safe to multiply by 100000000 to get an integer amount of satoshis.