if you want .00499 to round down, but .004999 to round up, add 0.000001 to value, ie
FloattoStrF(value+0.000001,decimals,etc)
0.004998 -> 0.004999 rounds down
0.004999 -> 0.005 rounds up
You decide where to draw the line
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.