Does anyone know of a replacement method for setFixed() that returns a number?
<p>Working with the method setFixed() returns a string in most browsers, but sometimes I need to set a number to a fixed set of decimal places and I need it to stay a number.</p>

<p>Plus I would like to be able to access it from the number object in javascript as part of the prototype object.</p>

<p>And it should ALWAYS return a number as a result instead of a string.</p>

<p>Anyone know of a good article or method to use?</p>

<p>I would also like a way to control whether it rounds up, down, or uses standard rounding.</p>
