You need to sign in to do that
Don't have an account?
cmarzilli
String Functions?
I am dealing with a lot of different types of fields including number (double) and date fields. How can I convert the exact value of these fields into strings?
I am looking at the Apex Code Language Reference PDF, but I can't find anything in it. Is there another more comprehensive Language Reference document some where?
This is really strange, say for example I have a variable that is a double named currentValue. This line of code throws an error:
String test = currentValue;
ERROR:Severity and Description Path Resource Location Creation Time Id
Illegal assignment from Double to String MyTest_Support/Packages myPackage.apex line 22 1171636386867 61
But this line of code does not throw an error:
String test= '' + currentValue;
what am I missing?