Apr 18, 2000 #1 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 do I search for a trailing decimal in a variable using wildcards or any other method?i.e. 486.,250.,etc
Apr 18, 2000 #2 Cornerstone MIS Apr 10, 2000 155 US How about the instr function:<br><br>If instr(yourvariable,"."<>0 then<br> your code<br>end if Upvote 0 Downvote
How about the instr function:<br><br>If instr(yourvariable,"."<>0 then<br> your code<br>end if
Apr 18, 2000 #3 JimHorton Programmer Jan 29, 2000 991 US If it's the trailing decimal only that you test for, use<br>If Right$(yourvar,1) = "." Then...<br><br>--Jim Upvote 0 Downvote
If it's the trailing decimal only that you test for, use<br>If Right$(yourvar,1) = "." Then...<br><br>--Jim