FuncRuDecline Method (Double, 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(
double value,
string one,
string two,
string five
)
Public Shared Function Decline (
value As Double,
one As String,
two As String,
five As String
) As String
Parameters
- value
- Type: SystemDouble
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:
StringReturns the value of one, two or five parameter. Depends on the value parameter.
See Also