value of a double coming back in sci notation, rounded - but I need all the digits

955
2
Jump to solution
09-10-2012 02:34 PM
HarryBowman
New Contributor III
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?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MathewCoyle
Frequent Contributor
int(row.getValue(field))

View solution in original post

0 Kudos
2 Replies
MathewCoyle
Frequent Contributor
int(row.getValue(field))
0 Kudos
HarryBowman
New Contributor III
int(row.getValue(field))


Awesome. Worked perfectly.
0 Kudos