Click or drag to resize

BasicFunctionsCopySign Method

Return first number with the sign of second number

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double CopySign(
	double x,
	double y
)

Parameters

x  Double
The first number.
y  Double
The second number whose sign is used.

Return Value

Double
The first number x with the sign of the second argument y.
See Also