How to convert long to string?

Hi
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.

 if(ObjectCreate(ChartID(),"rez",OBJ_TEXT,0,TimeCurrent(),Low[0]-0.0001))
     {

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

HI gstarmore1s

Did you try this :grinning:

ObjectSetString(ChartID(),"rez",OBJPROP_TEXT,DoubleToString(Volume[2],0));

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