@s{quotedtext}
@s{quotedtext}
Why can't you just multiply the numbers by 1.0e8 and then round to the nearest integer? That integer WILL ALWAYS BE EXACTLY RIGHT (assuming you're not running PHP on some really weird hardware).
According to the PHP manual:
@s{quotedtext}
@s{quotedtext}
I added a Python JSON-RPC library example on the Proper Money Handling wiki page.