how do I get a value to 5 decimal places (double) from iSAR(NULL,0,0.02,0.2,0) ? - page 2

 

Numbers in a computer are represented in different formats See https://en.wikipedia.org/wiki/Floating_point for more details. You do not normally get to see all the decimal places held by the computer internally and can choose how many decimal places you want printed out. The Normalise function is for sending the correct price values to the Broker after the computer has done its best to cope with any Math done which has produced rounding errors.

 

For printing/display purpose use the function DoubleToStr(10.1234567,5)

Reason: