code: function financialNumber (value) {
    const num = Number(value)
    if (value !== num || num < -99999999.99 || num > 99999999.99) {
      throw new Error(`Value '${value}' is not a valid number.`)
    }
  }
docs: Kontrola číselných hodnot.