Merge pull request #2033 from reactormonk/round-in-js
Fixes #1959, rounding floats in JS
This commit is contained in:
commit
f6131f412a
2 changed files with 17 additions and 1 deletions
7
tests/js/tfloatround.nim
Normal file
7
tests/js/tfloatround.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
output: '''
|
||||
3
|
||||
'''
|
||||
"""
|
||||
|
||||
echo int(22 / 7)
|
||||
Loading…
Add table
Add a link
Reference in a new issue