If I type in
a = numerical_approx(1/14, digits=7)
print a
b=1/14
print b.n(digits=7)
I get
0.07142857
0.07142857
I count 8 digits after the point.
I wonder: How to get 7 digits as declared?
| 1 | initial version |
If I type in
a = numerical_approx(1/14, digits=7)
print a
b=1/14
print b.n(digits=7)
I get
0.07142857
0.07142857
I count 8 digits after the point.
I wonder: How to get 7 digits as declared?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.