Jump to content

0.00 is greater than 0 in text field


This topic is 4147 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Any idea why 0.00 is greater than 0 when it is in a Text field? When I do a Replace Field Contents   

 

If ( Table::f2 > 0 ; something happens )

 

and Table::f2 is a Text field, it evaluates as greater than 0 and "something happens". Why?

Link to comment
Share on other sites

Raybaudi,

I have a script with 256 Replace lines in it for 256 fields. I was trying to not have to do all of the editing. I just changed the text field to number 256 times, slightly easier than changing all of the Replace lines. It defaulted to text field type because of the original import from a tab file. Thanks for the reply.

Link to comment
Share on other sites

It defaulted to text field type because of the original import from a tab file. Thanks for the reply.

 

Make a backup of the file, then change the field(s) from text to number type. See if the problem is solved.

Link to comment
Share on other sites

This topic is 4147 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.