How to convert long to string?

How can I convert long type value to string?

I tried with IntegerTo String and got same warning.
Also I checked this page but there is no LongToString or something with “Long” word.


      ObjectSetString(ChartID(),"rez",OBJPROP_TEXT,Volume[2]);// the value of Volume[2] converts to string and works but editor gives warning.

HI gstarmore1s

Did you try this :grinning:


Thank you very much .
It works without warning now .

its just simple typecasting using (string), you dont need no function.

string s = (string)longvalue;

lgrocutt1t, I saw your comment late but It was very helpful

Thank you