Click or drag to resize

FuncEnDecline Method (Int64, Boolean, String, String)

Returns the correct noun declension.

Namespace:  Stimulsoft.Report
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static string Decline(
	long value,
	bool showCents,
	string dollars,
	string cents
)

Parameters

value
Type: SystemInt64
A value containing a currency on which the resulting value depends.
showCents
Type: SystemBoolean
If showCents is true then the resulting string will be "cent" or "cents". If showCents is false resulting string will be "dollar" or "dollars".
dollars
Type: SystemString
A string in format "dollar/dollars" ("pound/pounds"), etc.
cents
Type: SystemString
If parameter is true then cents of the value will be added to the resulting string.

Return Value

Type: String

[Missing <returns> documentation for "M:Stimulsoft.Report.Func.En.Decline(System.Int64,System.Boolean,System.String,System.String)"]

See Also