How to differenciate between Strings and Numbers

The below mentioned code read text between two images captured using different hotspot.

The code is like this
put  ReadText(ReadValueTLC,ReadValueBRC, validcharacters:".0123456789-") into Read_value
if Read_value is "025" 
    put 0.25 into Read_value
end if

I've issue in reading 0.25 so I'm using the above mentioned code since 0.25 is read as 025, the real problem comes when the value is set to 25, even in this case it enters if condition and sets the Read_value to 0.25, i don't want this to happen. Is there a way convert a number to string just for comparison purpose?

Comments

Sign In or Register to comment.