joe-greenawalt / skulpt

Automatically exported from code.google.com/p/skulpt
Other
0 stars 0 forks source link

parseInt() not a good replacement for int(...) #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code you're trying to run:
int("3.2")

What does "real" Python output?
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: invalid literal for int() with base 10: '3.2'

What browser are you using? On what operating system?
Chrome 11.0 on OS X.6

Please provide any additional information.

Original issue reported on code.google.com by carnioja...@gmail.com on 29 Mar 2011 at 6:58

GoogleCodeExporter commented 9 years ago
The change for this is done now.

Original comment by millb...@luther.edu on 13 Nov 2011 at 5:09