Hello,
I am trying to calculate a field using another field. The code expression is valid and it executes the code but it does not provide the values i'm looking for. Instead, it shows 0's. But I want it to show values of .2 and .33, respectively for the Assigned Percent Loss field that I am trying to calculate.. Any help is greatly appreciated.
Solved! Go to Solution.
Looks like "Assign_Per_Loss" is LONG or SHORT datatype. It should be FLOAT or DOUBLE.
What is the field's data type? It is probably rounding and it should be set to float and the format set to show the correct number format.
Please post the entire code block.
Looks like "Assign_Per_Loss" is LONG or SHORT datatype. It should be FLOAT or DOUBLE.
Code worked and provided the correct output after changing it from long to float. Thanks everybody!