if i got a number Number = 0.0005
how can i know the location of the 5 in this number, ??
I know it is easy, just forgot, anyone please
Printable View
if i got a number Number = 0.0005
how can i know the location of the 5 in this number, ??
I know it is easy, just forgot, anyone please
Just simple Math
Num = Num * 10000
I think it's 10000
Maybe 1000
-Justin
NO....
i think there is a way to determine the length of the whole number "0.10005" = 6 or 7 ... and the location of 5 in this number = 2 or 3 ..... Any suggestion?
Maybe use the InStr Function.
Code:Private Sub Command2_Click()
MsgBox InStr(1, 0.0005, 5)
End Sub