Yet another x64 bug fix

Currency type is internally an int64. Casting its binary representation in RAX to an an int64 and affecting it to a currency will result in a *10000 multiplication.
Merge pull request #79 from velter/patch-6

Yet another x64 bug fix