Helper functions to process amount values sent by the MtGox API