AnsweredAssumed Answered

vrf Significant bits of the Real32 or Real64 number

Question asked by VRFuser on May 23, 2004
MittaLKmo@jippii.fi wrote the following:

> I'm saving numbers to file, in Real-format. The numbers are fetch from
> spectrum analyser. Those numbers are too long, example 8.12463566985,
> and I want only four digits. How can I cut the Real number to needed form??

You may use a To String object to format the numbers as required.

Play around with the options to see what formatting you can get.  As an
aside, if you use a To String object with now() you can generate
timestamps in human-readale format.

Regards

--
Graeme Hilton
Product Engineer

Schlumberger Sensa


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes