LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

number to decimal string

Solved!
Go to 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 Kudos
Message 1 of 12
(5,419 Views)

@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 Kudos
Message 2 of 12
(5,416 Views)

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 Kudos
Message 3 of 12
(5,405 Views)
Solution
Accepted by topic author 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 of 12
(5,398 Views)

Hi,

 

Use this.

 

Number to fraction string.PNG

 

Regards,

Bijay

Message 5 of 12
(5,395 Views)

You appear to be using the wrong function:

 

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

 

 

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 6 of 12
(5,393 Views)

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 Kudos
Message 7 of 12
(5,387 Views)

Hi,

 

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

 

Regards,

Bijay

0 Kudos
Message 8 of 12
(5,385 Views)

Hi,

 

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

Maybe that the parameters are not good ?

Peter.

Labview 2010
0 Kudos
Message 9 of 12
(5,381 Views)

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

Sorry, i didn't notice that.

 

Regards,

Bijay

0 Kudos
Message 10 of 12
(5,379 Views)