"types & grammar": address parseInt() crazy #45

Closed
getify opened this Issue Jan 22, 2014 · 1 comment

Projects

None yet

1 participant

@getify
Owner
getify commented Jan 22, 2014
parseInt(1/0,19); // 18

parseInt(0.000008); // 0
parseInt(0.0000008); // 8 ==> 8e-7

parseInt(false,16); // 250

parseInt(parseInt,16); // 15
@getify getify was assigned Jan 22, 2014
@getify getify changed the title from "Types & Grammar" title: address parseInt() crazy to "types & grammar": address parseInt() crazy Mar 31, 2014
@getify
Owner
getify commented Jul 18, 2014

Also:

parseInt("0x10"); // 16
parseInt("10",2); // 2
@getify getify closed this in 4fdc032 Aug 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment