annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

number to decimal string

Résolu !
Accéder à la solution

Hi,

 

Do you know if there is another fonction, similar to the image below, which doesn't convert the float value ?

 

Sans titre.png

Peter.

Labview 2010
0 Compliments
Message 1 sur 12
7 820 Visites

@Peter Saraiva wrote:

Hi,

 

Do you know if there is another fonction, similar to the image below, which doesn't convert the float value ?

 

Sans titre.png


Doesn't convert???. Are you talking about the "Number to Fractional string"? Your query is not clear.

-----

The best solution is the one you find it by yourself
0 Compliments
Message 2 sur 12
7 817 Visites

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

 

Sans titre.png

 

 

Regards

Peter.

Labview 2010
0 Compliments
Message 3 sur 12
7 806 Visites
Solution
Accepté par Peter Saraiva

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

 

Message 4 sur 12
7 799 Visites

Hi,

 

Use this.

 

Number to fraction string.PNG

 

Regards,

Bijay

Message 5 sur 12
7 796 Visites

You appear to be using the wrong function:

 

http://digital.ni.com/public.nsf/allkb/6FC8B91AD740FCC88625723D005FEA61 

 

 

 

 

Message 6 sur 12
7 794 Visites

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.

Sans titre.png

Peter.

Labview 2010
0 Compliments
Message 7 sur 12
7 788 Visites

Hi,

 

Use "Fract/exp string to number" function.Smiley heureux

 

Regards,

Bijay

0 Compliments
Message 8 sur 12
7 786 Visites

Hi,

 

This is what I use, I surrounded it on my last image.

Maybe that the parameters are not good ?

Peter.

Labview 2010
0 Compliments
Message 9 sur 12
7 782 Visites

Ohh... remove that integer constant from default terminal of the function.

Sorry, i didn't notice that.

 

Regards,

Bijay

0 Compliments
Message 10 sur 12
7 780 Visites