ArcGIS中Field 的 Field Precision和Field Scale

别说谁变了你拦得住时间么 提交于 2020-01-18 03:07:19

(适用于Float 和Double 类型,在GeoDatabase中不需要指定)

Field Scale:小数点右边可以有多少位
Field Precision:小数点左边再加Field Scale可以有多少位
比如:
Field Precision为5,Field Scale为3则

合法输入 非法输入
12.123 123.123
1.123 12.1234
12.1 123.1234

Add Field工具中的注释:
Field Precision (optional)
Describes the number of digits that can be stored in the field. All digits are counted no matter what side of the decimal they are on.
If the input table is a personal or file geodatabase the field precision
value will be ignored.
Field Scale (optional)
Sets the number of decimal places stored in a field. This parameter is only used in Float and Double data field types.
If the input table is a personal or file geodatabase the field scale value will be ignored.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!