+ Start a Discussion

FieldType is displayed as double instead of an Integer


I created a table in Sales force and for one of the fields I chose Number as data type. When I view the table in eclipse the field is displaying double as its data type. I do not want that field to be declared as double just need to be an Integer.

I did say 0 for Decimal Places while creating the field in Sales force.

How can I solve this, quick help would be appreciated.


  In salesforce everything will be number(m,n) format only, there is no such format like integer or double.
  So whenever we moved out of salesforce it will be like double only.
  If you want you need to convert it integer in your code manually.
Thanks for the reply. Your explanation is clear, I will type cast it to an Integer before saving it into SF.