|
|||||||||||||
We have a Round towards -Infinity (3.8 becomes 3, -3.8 becomes -4)
We have a Round towards +Infinity (3.2 becomes 4, -3.2 becomes 3)
We have a Round to Nearest (Rounds up or down to nearest integer, if 0.5, banker's rounding to even integer)
Why is there no Round towards Zero? Basically a truncate. (3.2 becomes 3, -3.2 becomes -3)
I have a use for that right now, but it takes several primitives to work.
As a corollary, a Round Away from Zero. (3.2 becomes 4, -3.2 becomes -4)

You must be a registered user to add a comment here. If you've already registered, please log in. If you haven't registered yet, please register and log in.
Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
My Profile | Privacy |
Legal |
Contact NI
© 2011 National Instruments Corporation. All rights reserved. | E-Mail this Page
|
||

E-Mail this Page