Click or drag to resize

FuncUaDecline Method (Decimal, String, String, String)

Returns the correct declension of names of roubles or kopecs of the currency.

Namespace:  Stimulsoft.Report
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static string Decline(
	decimal value,
	string one,
	string two,
	string five
)

Parameters

value
Type: SystemDecimal
A value containing a currency on which the resulting value depends.
one
Type: SystemString
This parameter will be used if the value parameter ends with 1.
two
Type: SystemString
This parameter will be used if the value parameter ends with 2,3,4.
five
Type: SystemString
This parameter will be used if the value parameter ends with other numbers and values which ends with numbers between 10 and 20.

Return Value

Type: String
Returns the value of one, two or five parameter. Depends on the value parameter.
See Also