Skip to main content
Question

Checking for float values


Forum|alt.badge.img+1
Hi,

 

 

I am processing some data in which on of the field value have to be checked for float,.

 

 

I've tried using tester with arithmatic editor function @double(<FLOAT>) but as soon as something other than integer enters it crashes.

 

 

Another approach I've tried is using ExpressionEvaluator with same math function for integer values it works fine and in other than integer values this does not crashes but gives function parameter as it is in _result which is not helping.

 

 

Can anybody please help me in finding some other way out in this situation.

 

 

Thanks in advance.

 

 

2 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • August 14, 2013
Hi

 

The attribute classifier seems like the obvious option despite it not having float as a test.

 

Hope this helps

Forum|alt.badge.img+1
  • Author
  • August 14, 2013
Thanx Itay, it worked.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings