aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordrh <>2023-07-01 17:56:00 +0000
committerdrh <>2023-07-01 17:56:00 +0000
commit17c20bb15e5f51e12efd95fd3dc8806f939d8af8 (patch)
treeecd4c527d8768501cf79a1ef7be406996de46964 /test
parent9ee9444a0adbf8f04081447d70d570f17c1a6e6a (diff)
downloadsqlite-17c20bb15e5f51e12efd95fd3dc8806f939d8af8.tar.gz
sqlite-17c20bb15e5f51e12efd95fd3dc8806f939d8af8.zip
Improved rounding policy.
FossilOrigin-Name: 6f1122e942b8269552daaf13d647d200d8546ec25f36310d67037c6b58d09976
Diffstat (limited to 'test')
-rw-r--r--test/round1.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/round1.test b/test/round1.test
index 2244a399a..2857593be 100644
--- a/test/round1.test
+++ b/test/round1.test
@@ -34,8 +34,8 @@ for {set iTest 1} {$iTest<=50000} {incr iTest} {
set r2 $x1.$x4
set ans [string trimright $r2 0]
if {[string match *. $ans]} {set ans ${ans}0}
- do_test $iTest/$n/${r}5=>$ans {
- set x [db one "SELECT round(${r}5,$n)"]
+ do_test $iTest/$n/${r}6=>$ans {
+ set x [db one "SELECT round(${r}6,$n)"]
} $ans
}