comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » number format in structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
number format in structure [message #45673] Sun, 25 September 2005 18:16 Go to previous message
Koh Leong Tah is currently offline  Koh Leong Tah
Messages: 11
Registered: May 2005
Junior Member
Hi All,

does anyone happen to know how I can specify the format to which
numbers stored in structure tags should adhere?

for example, I'd like to (hypothetically) be able to do

s={a:3.2f,b=2.3f}

s.a=123.12345678

will yield

print,s.a
123.12

Any ideas?

Thanks,
KL
[Message index]
 
Read Message
Read Message
Previous Topic: particle_trace confusion
Next Topic: Re: particle_trace confusion

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:46:46 PDT 2025

Total time taken to generate the page: 1.20180 seconds