Hi guys!!
I'm trying to code an indicator, but every time it deducts the day's high from the lows it spits the result out in 4 digits. I'm wondering if there is some sort of work around it so it will approximate the 4th digit, so that it will have a 3 digit final string.
For example; 1.29795 - 1.28067= 1728 what I'm looking for is a way to have it approximated to 173, so from 4 digits to 3 digits
Thanks !!!!!!!
I'm trying to code an indicator, but every time it deducts the day's high from the lows it spits the result out in 4 digits. I'm wondering if there is some sort of work around it so it will approximate the 4th digit, so that it will have a 3 digit final string.
For example; 1.29795 - 1.28067= 1728 what I'm looking for is a way to have it approximated to 173, so from 4 digits to 3 digits
Thanks !!!!!!!
For he that would be deceived, let him.