Datoteca — API Reference
    Preparing search index...

    Function calcularDV

    • Calcula el dígito verificador de un RUT chileno con el algoritmo módulo 11 estándar.

      Computes the check digit of a Chilean RUT using the standard modulo-11 algorithm.

      Parameters

      • numero: number

        Número base del RUT (sin dígito verificador). / Base RUT number (without check digit).

      Returns string

      El dígito verificador: '0'-'9' o 'K'. / The check digit: '0'-'9' or 'K'.