Download MetaTrader 5
To add comments, please log in or register
The entire MQL5.community history on a single page!
akose
66
akose 2014.09.24 16:00 

hi friends

how i hide on main window , tail of double value?

for example  102.123456789 convert to 102.12

   comment2 = StringConcatenate("comment2", CommentIndex);  
   ObjectCreate(comment2, OBJ_LABEL,0, 0, 5 );
   ObjectSet(comment2, OBJPROP_CORNER, 0);
   ObjectSet(comment2, OBJPROP_XDISTANCE, 95);
   ObjectSet(comment2, OBJPROP_YDISTANCE, 15 + (CommentIndex * 15) );
   ObjectSetText(comment2, momentum, 10, "Tahoma", Red ); 
whroeder1
13656
whroeder1 2014.09.24 16:12  
akose: for example  102.123456789 convert to 102.12
DoubleToString - MQL4 Documentation
akose
66
akose 2014.09.24 16:54  
ohh my ,how i cant see, thanks
/
To add comments, please log in or register