Category:

Miscellaneous

Returns the quantitative numeral of an integer.

Syntax

quantitative_numeral(
  x Integer,
  Language String,
  Case String,
  Gender String
): String

Parameters

x is the original number.

Language is the code of the language in which the result must be represented. Possible values: 'uk-UA' (Ukrainian).

Case (from 'A' to 'F') is for Ukrainian language only and ignored for other languages.

Gender ('M', 'F', 'N') is for Ukrainian language only and ignored for other languages.

Return value

Type: String. Returns the resulting string.

Examples of using

quantitative_numeral(15, 'en-US', 'A', 'M')