Click or drag to resize

ScriptExecutionBaseRound(Double) Method

Rounds a double-precision floating-point value to the nearest integral value, and rounds midpoint values to the nearest even number.

Namespace: Altaxo.Calc
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double Round(
	double x
)

Parameters

x  Double

[Missing <param name="x"/> documentation for "M:Altaxo.Calc.ScriptExecutionBase.Round(System.Double)"]

Return Value

Double
The integer nearest a. If the fractional component of a is halfway between two integers, one of which is even and the other odd, then the even number is returned. Note that this method returns a Double instead of an integral type.
See Also