bucabay
Member since Feb 24, 2010
- Profile: /members/5523-bucabay.htm
- URL: http://bucabay.com/
- Comments: 2
Recent Blog Comments By bucabay
-
Javascript Number.toFixed() Method
Posted on Mar 19, 2010 at 10:57 AM
It doesn't have a base() method, but it can be put together simply with: Math.base = function(n, to, from) { return parseInt(n, from || 10).toString(to); };... read more »
-
Javascript Number.toFixed() Method
Posted on Feb 24, 2010 at 8:10 PM
I actually thought it was a JQuery only function when I saw it in the JQuery ui.slider. This is an overlooked function similar to how the second parameter of String.parseInt() is overlooked. See: http://www.bucabay.com/web-development/base-conversion-in-javascript/ for the example of String.par... read more »