I am trying to calculate the length of trail segments (polylines) in miles using the calculate filed tool. my expression, !shape.geodesicLength@miles! runs fine. However I do not get floating point results. I have configured the field for numeric with 2 decimal places but all my results are 12.00, 3.00, 0.00 etc. What is going on?
Solved! Go to Solution.
Use a double type field, specify both the precision and scale. It looks like scale is set to 0
Use a double type field, specify both the precision and scale. It looks like scale is set to 0
Thanks Dan. That worked obviously. I have forgotten some of what I learned about computing over the years. Old dog learning new software.
Where exactly are you making this change in Pro? Field view of attribute table? Catalog Pane? Catalog View?
Field view of attribute table. I was trying to calculate trail length in a field designated as "long". Once I changed the field to "double" the calculation gave the expected results.