[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FROM 5.12345 TO 5.12



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