A rate between is a decimal number, usually between 0 and 1. Convenience methods for percent formatting
and per mille formatting are included. The value can be fetched as a double from the Value property.
Inheritance Hierarchy
Apptus.ESales.Connector.ReportRate
Namespace: Apptus.ESales.Connector.Report
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.3.0
Syntax
C#
public class Rate
The Rate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Rate | Initializes a new instance of the Rate class |
Properties
Name | Description | |
---|---|---|
Value |
The value in decimal form.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NaN | ||
Percent |
Formats the rate as a percentage with a specified number of decimals.
| |
PerMille |
Formats the rate as thousandths with a specified number of decimals.
| |
ToString | (Overrides ObjectToString.) |
See Also