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
Try
((int)(Math.Round(customerBatch.Amount * 100.0))).ToString()