Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Experience Builder
ArcGIS Dashboards
ArcGIS Spatial Analyst
ArcGIS Field Maps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Public Safety
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcObjects SDK
ArcGIS Pro SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
File Geodatabase API
Game Engine Maps SDKs
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
Esri Italia Community
Comunidad GEOTEC
Esri Ireland
Europe
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
Python
:
Python Questions
:
value of a double coming back in sci notation, rou...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
value of a double coming back in sci notation, rounded - but I need all the digits
Subscribe
1060
2
Jump to solution
09-10-2012 02:34 PM
by
HarryBowman
Deactivated User
09-10-2012
02:34 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Data vendor uses 14 digit doubles as IDs.
Example: 28401600001052
All digits mean something.
When I look at the field values in ArcMap Table View, I see the whole thing.
When I open a (version 10.0) search cursor and getValue on that field, I get 2.84016000011e+13.
I need all 14 digits to get the ID. I'd rather not have to create a text field to hold those IDs, but if it is the only way...
Is there another way to get these - something I can set that will make the getValue on the double return everything?
Solved!
Go to Solution.
Tags
(2)
Tags:
gis_developers
python
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Solution
Accepted Solutions
by
MathewCoyle
Honored Contributor
09-10-2012
02:37 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
int(row.getValue(field))
View solution in original post
Reply
0
Kudos
2 Replies
by
MathewCoyle
Honored Contributor
09-10-2012
02:37 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
int(row.getValue(field))
Reply
0
Kudos
by
HarryBowman
Deactivated User
09-11-2012
12:16 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
int(row.getValue(field))
Awesome. Worked perfectly.
Reply
0
Kudos
Post Reply