code: function (mixed) {
  
              var type = typeof mixed;
  
              if (type === "boolean") {
                  return +mixed;
              }
  
              mixed = "" + mixed;
              mixed = mixed.replace(/\s/g, "");
              mixed = mixed.replace(",", ".");
              mixed = (parseFloat(mixed) || 0);
              mixed = this.round(mixed, 9); // For numbers like "0.3000000004"
  
              return mixed;
          }
docs: Parse integer from string
  
  @param mixed
  @returns {Number}