a simple question...
[Highlight=VB]
y = Mid(Text1.Text, (Len(Text1.Text) \ 2), 3)
[/vbocode]
what does the \ 2 means?
thanks
Printable View
a simple question...
[Highlight=VB]
y = Mid(Text1.Text, (Len(Text1.Text) \ 2), 3)
[/vbocode]
what does the \ 2 means?
thanks
It means divide by 2 but because it uses the backslash it means its using integer division so the return would have no decimal places
9 / 2 = 4.5
9 \ 2 = 4
casey.
thanks...