Welcome
Type: Posts; User: Kewish
Welcome
That is because your double is being truncated and not rounded. You need to think about how you will handle your rounding before casting to an integer.
What is the value of (change - dollar) *...
You misunderstood what Norm was saying.
Cents should be an integer. Do I give you 92 cents or .92 of a cent?