aboutsummaryrefslogtreecommitdiff
path: root/test/nums.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/nums.tm')
-rw-r--r--test/nums.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nums.tm b/test/nums.tm
index 573b50ec..3653f18a 100644
--- a/test/nums.tm
+++ b/test/nums.tm
@@ -14,8 +14,8 @@ func main()
>> Num.PI
= 3.141592653589793
- >> Num.PI.format(precision=10)
- = "3.1415926536"
+ >> Num.PI.with_precision(0.01)
+ = 3.14
>> Num.INF
= Num.INF