LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rounding question

In this experimental VI, I do a number of conversions, etc.  I'm wondering why, when I input 327.63 as my numeric, I see 327.62 at the end of my concatenated string.
0 Kudos
Message 1 of 4
(2,636 Views)
You are throwing away data by retaining only 3 elements with the array subset operation. To get the right result, you need a length of four. Try it.
0 Kudos
Message 2 of 4
(2,631 Views)
In particular, you are left with 327.625, which according to the bankers rounding is rounded to the even number, or 327.62 in this case.
0 Kudos
Message 3 of 4
(2,627 Views)
I think  I confused the ArraySubset with another utility where you provide the first/last indexes into the array.  Thanks.
0 Kudos
Message 4 of 4
(2,591 Views)