Function calculateResolution

  • Parameters

    • input: number
    • max: undefined | number

    Returns number