Skip to main content
Version: 4.0 (next)

Humanizer.ShowQuantityAs

ShowQuantityAs Enum

Enumerates the ways of displaying a quantity value when converting a word to a quantity string.

public enum ShowQuantityAs

Fields

None 0

Indicates that no quantity will be included in the formatted string.

Numeric 1

Indicates that the quantity will be included in the output, formatted as its numeric value (e.g. "1").

Words 2

Incidates that the quantity will be included in the output, formatted as words (e.g. 123 => "one hundred and twenty three").