Appearance
ToHuman Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
Overloads
| Name | Description |
|---|---|
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. |
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)
csharp
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)
csharp
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)
csharp
string ToHuman(long value, HumanNumberOptions options = null)Converts a 64-bit integer to English words.
string ToHuman(BigInteger value, HumanNumberOptions options = null)
csharp
string ToHuman(BigInteger value, HumanNumberOptions options = null)Converts a non-negative BigInteger to English words. For negative, prefix "negative ".