Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wildcards and Decimals

Status
Not open for further replies.

jamstarr

Technical User
Apr 18, 2000
1
US
how do I search for a trailing decimal in a variable using wildcards or any other method?i.e. 486.,250.,etc
 
How about the instr function:<br><br>If instr(yourvariable,&quot;.&quot;)&lt;&gt;0 then<br>&nbsp;&nbsp;&nbsp;your code<br>end if
 
If it's the trailing decimal only that you test for, use<br>If Right$(yourvar,1) = &quot;.&quot; Then...<br><br>--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top