General information
Category:
Coding, syntax & commands
>You can force truncation using the FLOOR() function.
Careful, remember, Floor() rounds down to the next integer, and Cieling() of course rounds up, so Floor(nNum * 10) / 10
on -2.55 gives -2.6, thats not good. You'd have to use Floor(nNum * -10) / -10
or better yet, just Int(nNum * 10) / 10
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only