IRoundingStrategy Interface

Provides a strategy for rounding decimal values to a given number of significant digits.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9017.0
C#
[JsonConverterAttribute(typeof(RoundingStrategyConverter))]
public interface IRoundingStrategy

Properties

MaxDigits Returns the maximum number of significant digits to which the Round method can round.
Name Returns the friendly name of the rounding strategy.
TypeName Gets the FullName to assist serialization

Methods

Round Returns a decimal rounded to the nearest value of 10^-n.

See Also