05-21-2012 04:47 AM
Hi,
Do you know if there is another fonction, similar to the image below, which doesn't convert the float value ?
Solved! Go to Solution.
05-21-2012 04:53 AM
@Peter Saraiva wrote:
Hi,
Do you know if there is another fonction, similar to the image below, which doesn't convert the float value ?
Doesn't convert???. Are you talking about the "Number to Fractional string"? Your query is not clear.
05-21-2012 06:15 AM
Hi,
In fact, when I use this fonction to save my data in a lvm file, this fonction converts, for example, 2.7 to 3.
And what I want is to save the data without convertion.
here is my program
Regards
05-21-2012 06:24 AM
The function you are looking for is "Number to Fractional string" as already suggested.
The one you use is for integers, that's why 2.7 is converted to 3.
Regards,
Marco
05-21-2012 06:29 AM
Hi,
Use this.
Regards,
Bijay
05-21-2012 06:31 AM
You appear to be using the wrong function:
http://digital.ni.com/public.nsf/allkb/6FC8B91AD740FCC88625723D005FEA61
05-21-2012 06:46 AM
thanks for your help;
So now the other problem is quiet the same,when I read the data in my file, the fonction that I use converts the data to an integer.
05-21-2012 06:50 AM
Hi,
Use "Fract/exp string to number" function.
Regards,
Bijay
05-21-2012 06:54 AM
Hi,
This is what I use, I surrounded it on my last image.
Maybe that the parameters are not good ?
05-21-2012 06:57 AM
Ohh... remove that integer constant from default terminal of the function.
Sorry, i didn't notice that.
Regards,
Bijay