function toFixed(number, fractionDigits) {
     return parseFloat(Number(number).toFixed(fractionDigits));
   }
A wrapper around Number#toFixed, which contrary to native method returns number, not string.
@static
@method toFixed
@memberOf fabric.util
@param {Number | String} number number to operate on
@param {Number} fractionDigits number of fraction digits to "leave"
@return {Number}