@hebcal/core
    Preparing search index...

    Function gematriya

    • Converts a numerical value to a string of Hebrew letters.

      When specifying years of the Hebrew calendar in the present millennium, we omit the thousands (which is presently 5 [ה]).

      Parameters

      • num: string | number

      Returns string

      gematriya(5774) // 'תשע״ד' - cropped to 774
      gematriya(25) // 'כ״ה'
      gematriya(60) // 'ס׳'
      gematriya(3761) // 'ג׳תשס״א'
      gematriya(1123) // 'א׳קכ״ג'