However, that will round the value if it has a decimal value.
?CInt("1.5" will return 2
Use instead:
i=Int("1.5"
which will return 1
This only works for most decimal numbers. [/b][/i][/u][sub]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
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.