[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] PlotText & Formatting Decimals?



PureBytes Links

Trading Reference Links

Hi

Is there a way to format a number to a set number of decimal places. E.g. In the below example round the number to 2 decimal places.

 

PlotText( "Buy @ "+ 1234.5678, xCoordinate , yCoordinate , PlotColour , colorWhite );

 

It seems that formatting used in printf

e.g. printf ("2 decimal = %0.2f",  1234.5678);  doesn’t work in PlotText

 

Thanks

Peter



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS