diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-02-01 01:30:38 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-02-01 01:30:38 +0100 |
commit | f6131f412a89f7b7cb2a501fa23235a9259c165e (patch) | |
tree | 0894b376e945e33bf7dd12ce2bc42049accc631d /tests | |
parent | 014be3a29c7c4691cde5b446a04fe522e008ea34 (diff) | |
parent | 11292a9e0b2d614948c8b7cca780a1545a2cce34 (diff) | |
download | Nim-f6131f412a89f7b7cb2a501fa23235a9259c165e.tar.gz |
Merge pull request #2033 from reactormonk/round-in-js
Fixes #1959, rounding floats in JS
Diffstat (limited to 'tests')
-rw-r--r-- | tests/js/tfloatround.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/js/tfloatround.nim b/tests/js/tfloatround.nim new file mode 100644 index 000000000..7bc5430e6 --- /dev/null +++ b/tests/js/tfloatround.nim @@ -0,0 +1,7 @@ +discard """ + output: ''' +3 +''' +""" + +echo int(22 / 7) |