function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kathyanikathyani 

FieldType is displayed as double instead of an Integer

Hi,

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.


kathyani
hisrinuhisrinu
Hi,

  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.
kathyanikathyani
Thanks for the reply. Your explanation is clear, I will type cast it to an Integer before saving it into SF.