Hi,
When I take the high(x) or the low(x) of the GB future I get sometimes a value in my EFS script which looks like: 112.700000000000001 instead of 112.7. Since I make use of the drawTextRelative function it looks of course awfull.
1.Is there a way to limit the output of the drawTextRelative function to two digits behind the decimal point.
2. Why does this happen and if the efs script calculates with these values what happens? fe If the script substracts a number from this odd number?
Thanks,
RH
When I take the high(x) or the low(x) of the GB future I get sometimes a value in my EFS script which looks like: 112.700000000000001 instead of 112.7. Since I make use of the drawTextRelative function it looks of course awfull.
1.Is there a way to limit the output of the drawTextRelative function to two digits behind the decimal point.
2. Why does this happen and if the efs script calculates with these values what happens? fe If the script substracts a number from this odd number?
Thanks,
RH
Comment