number of digit

Moderator: admin

number of digit

Postby plkdtm » Wed Dec 28, 2016 6:53 am

Hi,

i'm trying to modify precision in MTF MCP bb percentage overview dashboard because:

Text="Top : " .. win32.formatNumber(Indicator[i][j].TL[Indicator[i][j].TL:size()-1], false, source:getPrecision());

this line show me only 2 decimals et not the real price. for example, instead of showing 1.0412, it shows 1.04
i tried to force getPrecision with 5 as parameter but it doesn't change anything.

Is there a way to show the exact price?

thanks
plkdtm
 
Posts: 37
Joined: Fri Oct 05, 2012 12:21 am

Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 9 guests