Fixes #1959, rounding floats in JS
This commit is contained in:
parent
d4786976dd
commit
11292a9e0b
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