docs: function(num, max) {
              max = max || Infinity;
              var precision = 0;
  
              while(precision < max && num.toFixed(precision) !== num.toString()) {
                  precision += 1;
              }
  
              return precision;
          }