Apr 5, 2002 #1 MrMoocow Programmer May 19, 2001 380 US Anyone have a good FLoor function? I'm using: Public Function Floor(ByVal value As Double) As Integer Floor = CDbl(CLng(value)) End Function But it seems to have some irregularitiies. Brad, Hey! email me any time! Bradsvb@yahoo.com
Anyone have a good FLoor function? I'm using: Public Function Floor(ByVal value As Double) As Integer Floor = CDbl(CLng(value)) End Function But it seems to have some irregularitiies. Brad, Hey! email me any time! Bradsvb@yahoo.com
Apr 5, 2002 #2 Jon4747 Programmer Aug 22, 2001 234 CA Hi, Use the Fix Statement e.g. Floor = Fix(value) Jon Upvote 0 Downvote
Apr 5, 2002 Thread starter #3 MrMoocow Programmer May 19, 2001 380 US Thank you, Never though of "Fix" instead of floor... Silly me Brad, Hey! email me any time! Bradsvb@yahoo.com Upvote 0 Downvote
Thank you, Never though of "Fix" instead of floor... Silly me Brad, Hey! email me any time! Bradsvb@yahoo.com