code: function numberType(type, variable, explicit) {
  		//  if the integer value is identical to the float value, it is an integer
  		return (parseInt(variable, 10) === parseFloat(variable) ? 'int' : 'float') + (explicit ? '' : '|' + type);
  	}
docs: Create a string matching various number types depending on given variable
  @name    numberType
  @access  internal
  @param   string  type
  @param   number  variable
  @param   bool    explicit typing
  @return  string  types