I had some problem with the use of modulo with single and double, maybe in the last version is fixed
but , sorry I forgot the name of the friend who gave me the solution but it is clever , very simple and works for all kind of variable (change the dim) !
Function Modsingle(byval Number As Single , Byval Modulo As Single) As Single
While Number > Modulo
Number = Number - Modulo
Wend
Modsingle = Number
End Function
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum