|
-
Apr 22nd, 2002, 05:56 AM
#1
Thread Starter
Junior Member
Denomination Calc
Hi all,
Probably a bit easy but I can't seem to get it to work. How do I go about calculating what denominations I need to make up a money total in VB? e.g. £12.35...how do I calculate that it would need 12 pound coins, 3 ten pence coins, and 1 five pence coin?
I know it has something to do with mod and division, but I can't get it to work.
Any help would be greatly appreciated,
littlefitzer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|