jake_smith

VBScript for elevation contour values

Discussion created by jake_smith on Jul 20, 2011
Latest reply on Jul 21, 2011 by jake_smith
I have a list of attributes that I need to create a vbscript for in field calculator.  I have 200,000+ entries and need to select some of the attributes.  The properties are float values that consist of contour half meter values.

1, 1.5, 2, 2.5, 3, etc..

I need to select only the values that are 1, 2, 3, 4, and so on.

Does anyone know of a script that can select only these values?  Or assign a boolean value to only the values that end in .5?

The current elevation values are in [Elev_float] field and my target field (where the new values will be selected from) is [Elev_new] which is an integer field.

Thanks!
Jake

Outcomes