[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FROM 5.12345 TO 5.12
- Subject: FROM 5.12345 TO 5.12
- From: "Mark Chan" <chanm(at)cadvision.com>
- Date: Sat, 10 Mar 2001 22:13:14 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: CADVision/PSINet
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23937
x=[5.12345, 45.378, 1300.3221, ...]
xyouts, 5,7, x[0]
Will give: 5.12345 (in some window)
Want: 5.12
xyouts, 5,7,format='(f4.2)',x[0] ---- not allowed, although the following
is allowed but not what I need
print,format='(f4.2)',x[0] ---- not what I need
Any suggestion?
Thanks in advance,
Mark Chan