This is what I am doing, which works 99.999% of the time:
((int)(customerBatch.Amount * 100.0)).ToString()
The Amount value is a double. I
You should really use decimal for money calculations.
((int)(580.55m * 100.0m)).ToString().Dump();