Maptitude GISDK Help

SetFieldDecimals()

Summary

Changes the number of displayed decimals for a real-typed field.

 

Syntax

SetFieldDecimals(string field_spec, integer new_decimals)

 

Argument Contents
field_spec A field spec
new_decimals The new number of displayed decimal places

 

Notes

Example

curr_dec = GetFieldDecimals("States.PopDensity")

SetFieldDecimals("States.PopDensity", curr_dec + 2)

 

Error Codes

Error Type Meaning
NotFound The input field does not exist or the field specification is ambiguous

 

See Also

Function Summary
GetFieldDecimals() Returns the number of displayed decimal places for a real-typed field
GetFieldInfo() Returns the data type, display width, decimals, and index flag for a field
ModifyTable() Modifies the file structure of a dBASE, fixed-format text or fixed-format binary table

 

 

©2025 Caliper Corporation www.caliper.com