[Top][All Lists]

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


From: Gorazd Brumen
Subject: precision
Date: Thu, 01 Dec 2005 11:48:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920

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?


Gorazd Brumen
Mail: address@hidden
PGP: Key at, ID BCC93240

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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