code: function num2str(type) {
    switch (Number(type)) {
      case types.BYTE:
        return 'byte';
      case types.CHAR:
        return 'char';
      case types.SHORT:
        return 'short';
      case types.INT:
        return 'int';
      case types.FLOAT:
        return 'float';
      case types.DOUBLE:
        return 'double';
        /* istanbul ignore next */
      default:
        return 'undefined';
    }
  }
docs: Parse a number into their respective type
  @ignore
  @param {number} type - integer that represents the type
  @return {string} - parsed value of the type