help-octave
[Top][All Lists]
Advanced

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

Variable precision


From: JarosekFC
Subject: Variable precision
Date: Thu, 14 Mar 2013 03:22:41 -0700 (PDT)

Hello I have a problem with variable precision. I want to set precision on 5
digits (pi=3.1415), but when I try it using vpa function, so result is
wrong. Can I solve this problem? Thank you for answer.
Jara Továrek

digits(5);
vpa(pi)

ans= 3.1415927




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Variable-precision-tp4650774.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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