Skip to content

NumberToWordsExtensions Class ​

Definition ​

Extension methods humanizing numeric values into words

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Methods ​

NameDescription
string ToHuman(BigInteger value, HumanNumberOptions options = null)Converts a non-negative BigInteger to English words. For negative, prefix "negative ".
string ToHuman(decimal value, HumanNumberOptions options = null)Converts a decimal to English words. Supports optional cents as "and 23/100". Fractional words ("point one two") are not produced.
string ToHuman(int value, HumanNumberOptions options = null)Converts a 32-bit integer to English words (e.g., 123 -> "one hundred twenty-three").
string ToHuman(long value, HumanNumberOptions options = null)Converts a 64-bit integer to English words.