Gematria by Yaakov Ellis

<PackageReference Include="Gematria" Version="1.1.0" />

 Calculator

public static class Calculator
The Gematria Calculator. Base for main functionality
public static bool ForceNumericStrictMode { get; set; }

Should strict mode always be used when calculating numeric values (defaults to false). When set to true,

public static string ConvertToGematriaNumericString(long number, bool includeSeparators = true, char thousandsSeparator = '\'', char tensSeparator = '"')

Convert a number into its Gematria Numeric representation this method is only a wrapper for the other overload which utilizes GematriaOptions class.

public static string ConvertToGematriaNumericString(long number, GematriaOptions options = null)

Convert a number into its Gematria Numeric representation

public static long GetGematriaValue(string sourceString, GematriaType gematriaType = 0)

Calculates the gematria value for all Hebrew letters in the given string. Ignores all characters that are not Hebrew letters.

public static long GetNumericGematriaValue(string sourceString, GematriaType gematriaType = 0, bool? isStrictMode = default)

Calculates the gematria value for a string that is intended to represent a number (example: a year in the Hebrew calendar or page in a Hebrew book). This function expects that the given string will contain only one word, and will throw an error if more than one word is included (this is because a string of Hebrew characters representing a number will never consist of multiple words). Ignores non-Hebrew characters and punctuation in the given word.

public static string StripSeparatorCharacters(string str, bool stripSpaces = true)

Strip separator characters (single and double-quotes, appostrophes) from a string