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
puli rajupuli raju 

how to convert integer to string string to integer using salesforce

Amit Chaudhary 8Amit Chaudhary 8
HI Raju,

valueOf(stringToInteger)
Returns an Integer that contains the value of the specified String. As in Java, the String is interpreted as representing a signed decimal integer.

Example:-
Integer myInt = Integer.valueOf('1234');
valueOf(integerToConvert)
Returns a String that represents the specified Integer.

Signature
public static String valueOf(Integer integerToConvert)

Example:-
Integer myInteger = 221;
String sInteger = String.valueOf(myInteger);
System.assertEquals('221', sInteger);
Please check below post for more information
1)https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_integer.htm
2) https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_integer.htm

Let us know if this will help you

Thanks
Amit Chaudhary
fillertierlist fillertierlistfillertierlist fillertierlist
Hello!
Same issue, I want to have best solution for this one!
Please check my site to know issues!
https://fillertierlist.com/
James MorrisonJames Morrison
From my experience, casino is a dubious source of income, but I don't agree. 
According to candid reviews https://5vulkanvegas.com/ro casino has been standing up for quite a long time. 
Here you can find everything you want from the table games to the most popular slots worldwide.
 
Ulysses ShawUlysses Shaw
Thank you for this tutorials about convert integer to string string to integer it helps. Teco Login (https://www.tecologin.com/)