As there are different price with different spread for trading, so the number of decimal I have to show is different for each stock. I write the following hopefully, when it shows in explore or scan the display is corrcetly show the number of decimal, but I do not want to make it so many decimal places even for large stock price.
please help me on below AFL which gives error: (wrong format)
SpreadDecimal = IIf(C<0.5, StrToNum("1.3"),StrToNum("1.2"));
AddColumn(C,"Close",SpreadDecimal);
Thanks!
please help me on below AFL which gives error: (wrong format)
SpreadDecimal = IIf(C<0.5, StrToNum("1.3"),StrToNum("1.2"));
AddColumn(C,"Close",SpreadDecimal);
Thanks!