create wzk.number package and function parseDec with following header:

###*
  Parses decimal number, if parsed value is NaN of Infinity returns default value if provided
  @param {string} num
  @param {number|null|undefined=} default
  @return {number}
###
wzk.parseDec = (num, default = null)