simplification
energy
Global Mapper UserTrusted User
Hi
one of the my attibutes values two decimals for exemple :445.83 how can I reduce that like 446 and set the new attribute?
thanks...
one of the my attibutes values two decimals for exemple :445.83 how can I reduce that like 446 and set the new attribute?
thanks...
Comments
-
The only thing I can think of right now is to do a search and replace on '.' and replace it with a space or something, then do a CALC ATTR operation on the layer and multiply by 1.0 to get a new attribute. Since the decimal is gone the number would look like 445. Actually if you want rounding first add 0.5 using CALC ATTR before replacing the '.' with a space and multiplying.
In the future we will have numeric attribute formatting support so you can specify how to format the text.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 627 GM Script Language
- 52 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website