12-02-2002 06:16 AM
12-03-2002 02:03 AM
12-03-2002 02:43 AM
07-28-2004 12:38 PM
10-05-2009 01:09 PM
Has anyone found a real solution to this?
I'm having issues with this also.
In vb.net all I had to do was round.decimal(myNumber,2) and this would be fine and simple.
example the above code would return: 2.6972 would return 2.70 with no trailing zeros.
i'm very new to labview and i'm surprised this function can not be found.
Thanks
10-05-2009 01:35 PM - edited 10-05-2009 01:35 PM
Did you try the VI that Ian posted?
Here is what is inside (with the formula node replaced with a LV primitive).
10-05-2009 01:52 PM
Ok Yes.
Thank you.
Since I saw that it was still leaving the trailing zeros I thought it was not yet perfect but it is working fine when the indicator does not have minimum decimal requirements.
Thank you
01-17-2012 02:35 PM
Hello! 🙂 Thank you for the attached VI. I would just like to ask if the number of entries is limited to 15? As in 15 rows in the csv file? Thank you very much! 🙂
01-17-2012 02:58 PM
Please disregard my previous reply to you. Thank you! 😄
02-28-2013 07:40 PM - edited 02-28-2013 07:51 PM
I have modify the vi to avoid the problem with the rounded number that goes to the next higher. It's working for me, but...
I do it in a bigger program that I compare the result with a data i have. but if i use 0.25 both number suposse to be the same but the compare result is FALSE, and in the Probe Wathc windows both appears like 0.25 it seems extrage.
Any help?
Thank you
I think i have already solve it, by converting the data to single. Thank you anyway!