Skip to content

Instantly share code, notes, and snippets.

@webdood
Created May 28, 2010 23:33
Show Gist options
  • Save webdood/417889 to your computer and use it in GitHub Desktop.
Save webdood/417889 to your computer and use it in GitHub Desktop.
var x=String(229.123 >> 0);
1+parseInt(x.substring(0,1)) + "00000000000".substring(0,x.length-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment