Merge pull request #2033 from reactormonk/round-in-js

Fixes #1959, rounding floats in JS
This commit is contained in:
Andreas Rumpf 2015-02-01 01:30:38 +01:00
commit f6131f412a
2 changed files with 17 additions and 1 deletions

7
tests/js/tfloatround.nim Normal file
View file

@ -0,0 +1,7 @@
discard """
output: '''
3
'''
"""
echo int(22 / 7)