setting number of digits after the decimal place

Douglas Clark dbcl at CEH.AC.UK
Fri Mar 28 04:39:27 EDT 2008


Sandra,

I think 'set dignum' only works with 'set gxout grid' (although admittedly the web documentation doesn't say that).

You could use something like:
'set gxout print'
'set prnopts %8.2f'
'd var'

Doug

>>> sansaad at AJATO.COM.BR 27/03/2008 20:33 >>>
Hello everybody,

How do I set the number of digits after the decimal place of a number? I
tried"set dignum number" (like in the example bellow),but it didn't work.

Example:

define var=4.3215
set dignum 2
d var


It should result in 4.32, but it's still 4.3215.

Did I do something wrong?

Thanks a lot,

Sandra



--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.



More information about the gradsusr mailing list