Click or drag to resize

Rounding Class

Rounding of numbers
Inheritance Hierarchy
SystemObject
  Altaxo.CalcRounding

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class Rounding

The Rounding type exposes the following members.

Constructors
 NameDescription
Public methodRoundingInitializes a new instance of the Rounding class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberRoundDown(Int32, Int32) This returns the next number k with k lesser or equal i, and k mod n == 0.
Public methodStatic memberRoundDown(Int64, Int64) This returns the next number k with k lesser or equal i, and k mod n == 0.
Public methodStatic memberRoundToNumberOfSignificantDigits Rounds a double number to the provided number of significant digits.
Public methodStatic memberRoundUp(Int32, Int32) This returns the next number k with k greater or equal i, and k mod n == 0.
Public methodStatic memberRoundUp(Int64, Int64) This returns the next number k with k greater or equal i, and k mod n == 0.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also