Fortran.AInt Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

AInt(Double) Rounds a value towards zero.
AInt(Single) Rounds a value towards zero.

AInt(Double)

Rounds a value towards zero.
C#
public static double AInt(
	double x
)

Parameters

x  Double
The number to round.

Return Value

Double
The value x rounded to the nearest integer.

AInt(Single)

Rounds a value towards zero.
C#
public static float AInt(
	float x
)

Parameters

x  Single
The number to round.

Return Value

Single
The value x rounded to the nearest integer.

See Also