DfsExtensionsToDoubleArray Method (Single) |
Copies the float array into a double array.
Namespace: DHI.Generic.MikeZero.DFSAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static double[] ToDoubleArray(
this float[] floats
)
<ExtensionAttribute>
Public Shared Function ToDoubleArray (
floats As Single()
) As Double()
public:
[ExtensionAttribute]
static array<double>^ ToDoubleArray(
array<float>^ floats
)
[<ExtensionAttribute>]
static member ToDoubleArray :
floats : float32[] -> float[]
Parameters
- floats
- Type: SystemSingle
Float array to copy.
Return Value
Type:
DoubleDouble array with copied float 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