help-octave
[Top][All Lists]
Advanced

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

Re: changing precision in Octave?


From: Ronald Crummett
Subject: Re: changing precision in Octave?
Date: Fri, 23 Feb 2007 10:30:28 -0800

Awesome, just what I need.  Thank you.

Out of curiosity, it is possible to specify a precision, like if I 
wanted 6 places instead of five?  From reading 'help format' I didn't 
see anything but I have been mistaken before...

-Ron

----- Original Message -----
From: Quentin Spencer <address@hidden>
Date: Friday, February 23, 2007 10:27 am
Subject: Re: changing precision in Octave?
To: Ronald Crummett <address@hidden>
Cc: Octave Help <address@hidden>

> Ronald Crummett wrote:
> > Hi - 
> >
> > How can I change the decimal precision in Octave?  By default it 
> is 5 
> > decimal places, and I need more like 10.  Is this possible?
> >   
> 
> octave:1> format long
> octave:2> 1/2
> ans =  0.500000000000000
> 
> 
> 
> -Quentin
> 
> 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]