Dec 31, 2001 #1 Dannybe2 Programmer Jan 31, 2001 136 GB How do I divide a number by another and create a remainder: Eg. 1523 / 60 = 25.3833333 1523 / 60 = 25 R23
How do I divide a number by another and create a remainder: Eg. 1523 / 60 = 25.3833333 1523 / 60 = 25 R23
Dec 31, 2001 #2 JohnYingling Programmer Mar 24, 2001 3,742 US remainder = 1523 MOD 60 http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort in VB or VBScript Upvote 0 Downvote
remainder = 1523 MOD 60 http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort in VB or VBScript
Jan 2, 2002 #3 S SkipVought Programmer Dec 4, 2001 47,487 US Hi, Use the Mod function Code: a = 1523 b = 60 MsgBox a Mod b Skip, metzgsk@voughtaircraft.com Upvote 0 Downvote