help-octave
[Top][All Lists]
Advanced

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

Re: precision


From: Arvid Rosén
Subject: Re: precision
Date: Thu, 1 Dec 2005 12:05:32 +0100 (CET)
User-agent: SquirrelMail/1.4.5

Type
format free
at the octave prompt

/Arvid

Den To, 2005-12-01, 11:48 skrev Gorazd Brumen:
>
> sorry for the dumm question,
>
> how do you set the precision in the matrix output like this:
> integers numbers are printed integers and
> floats are rounded to 2 digits past the dec. point.
>
> like 5 6 1.23
>
> cause i always get: saving [1 2 3] is ok (produces 1 2 3),
> but saving
> [1 2 3.23] makes [1.0000 2.0000 3.2300] in the output.
>
> is there an easy way to do this?
>
> thanks,
> gorazd
>
> --
> Gorazd Brumen
> Mail: address@hidden
> WWW: http://valjhun.fmf.uni-lj.si/~brumen
> PGP: Key at http://pgp.mit.edu, ID BCC93240
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
>
>



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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