¿Visual Logic Controls?
#1
Posted 20 September 2008 - 06:02 PM
#2
Posted 16 October 2014 - 10:01 PM
I have the similar issue. In our book it says integer division and mod. I understand the concept but am struggling with the implementation.
The book (visual logic pg. 11) says Amount/25 will determine quarters due and Amount Mod 25 would calculate change given after quarters.
However as I mentioned I am unable to implement expressions correctly. I want to do the work myself but cant put the pieces together without some kind of visual example.
Any advice or suggestions would be appreciated. - John G.
#3
Posted 17 October 2014 - 04:39 AM
Look at Modulo and Integer functions If you perform X MOD INT(x) you are left with the remainder. So (12.5 MOD 12) x 100 = 50 cents
INT(50/25) = 2 Quarters
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users