Monopoli(BA)/Italia
Posts: 2 since Oct 2019
Thanks Given: 1
Thanks Received: 0
|
Hi, from a keyword reference manual to powerlanguage downloaded from the Multichart site I read that there is function to convert numbers to strings:
"
NumToStr
Returns a specified numerical expression in the form of a string expression.
Usage
NumToStr(Expression,Dec)
Where: Expression - a numerical expression to be converted to a string
expression
Dec - a numerical expression specifying the number of decimal places the
returned string expression is to contain
Example
NumToStr(1500.5,3); will return a string expression "1500.500"
"
so I have this line of code that give me a compilation error:
m_text_obj = DrwText.Create(new ChartPoint(Bars.Time[0], Bars.High[0]), NumToStr(m_volume,2));
it does not recognize "NumToStr"
where is the error?
Thank's
Piero
|