Fixes #1959, rounding floats in JS

This commit is contained in:
Simon Hafner 2015-01-29 05:30:55 -06:00
commit 11292a9e0b
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)