취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

help to change string in number

I've a string " 1.001" and I want to change it in number but i take only 1.0. I had to do the median and I can't Please help
0 포인트
1/5 메시지
3,049 조회수
Razmocket-stagiaire schrieb:
> I've a string " 1.001" and I want to change it in number but i take
> only 1.0. I had to do the median and I can't Please help

Hi,

try following format string to extract the number: %.;%f


Henrik
0 포인트
2/5 메시지
3,049 조회수
Try this vi.
You must change the precision of your number indicator. you must set 3 for
the example you give.

--
Jerome LANGE
Strasbourg
andromed@club-internet.fr


"Razmocket-stagiaire" a ?crit dans le message news:
5065000000080000008F480000-1019262487000@exchange.ni.com...
> I've a string " 1.001" and I want to change it in number but i take
> only 1.0. I had to do the median and I can't Please help



[Attachment 1.vi, see below]
0 포인트
3/5 메시지
3,049 조회수
> I've a string " 1.001" and I want to change it in number but i take
> only 1.0. I had to do the median and I can't Please help

The VI file that you attached is empty (0 bytes) ??

Regards,

Lennie De Villiers

SYSTEMS DEVELOPER & SOFTWARE CONSULTANT
Tel: +27 82 4455949 Fax: +27 82 131 4455949
Email: ddevilliers@lando.co.za
0 포인트
4/5 메시지
3,049 조회수

Hi Razmocket,

 

That's the same for me I can't open your VI.

 

So, which function do you use to convert from string to number ? Decimal string to number ?

 

Thanks,

 

MathieuT

NIF AE

0 포인트
5/5 메시지
2,512 조회수