Mar 14, 2005 #1 SWarrior MIS Dec 19, 2003 111 US I need to get the Remainder of a division answer. For example, 48 / 7 = 6, remainder 6. Because 7 * 6 = 42 and then there is 6 left over. I need the 6. 51 / 7 = 7, remainder 2 and so on. -SWarrior
I need to get the Remainder of a division answer. For example, 48 / 7 = 6, remainder 6. Because 7 * 6 = 42 and then there is 6 left over. I need the 6. 51 / 7 = 7, remainder 2 and so on. -SWarrior
Mar 14, 2005 Thread starter #2 SWarrior MIS Dec 19, 2003 111 US Nevermind... worked it out this way... Code: Remainder = F - (int(f/7)*7) -SWarrior Upvote 0 Downvote
Mar 14, 2005 #3 trollacious Programmer Sep 29, 2004 4,046 US There's a built in function for doing this: Remainder = F [red]Mod[/red] 7 Lee Upvote 0 Downvote