You are here: Symbol Reference > Stimulsoft.Report Namespace > Func Class > Func Classes > Ua Class > Ua Methods > Decline Method > Decline Method (decimal, string, string, string)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Func.Ua.Decline Method (decimal, string, string, string)

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

Syntax
C++
C#
Visual Basic
public: string Decline( decimal value, string one, string two, string five );
Parameters
Parameters 
Description 
value 
A value containing a currency on which the resulting value depends. 
one 
This parameter will be used if the value parameter ends with 1. 
two 
This parameter will be used if the value parameter ends with 2,3,4. 
five 
This parameter will be used if the value parameter ends with other numbers and values which ends with numbers between 10 and 20. 
Returns

Returns the value of one, two or five parameter. Depends on the value parameter.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.