Click or drag to resize
DfsExtensionsToFloatArray Method (Double, Single)
Copies the double array into a float array.

The double values are truncated and the higher precision of a double number is lost.

Namespace: DHI.Generic.MikeZero.DFS
Assembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
public static void ToFloatArray(
	this double[] doubles,
	float[] floats
)

Parameters

doubles
Type: SystemDouble
Double array to copy.
floats
Type: SystemSingle
Float array with copied double values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also