Go to: Synopsis. Return value. MEL examples.
string floatArrayToString( float $array[], string $separationString )
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $array | float[] | The float array. |
| $separationString | string | Defines the characters to place between each float element. |
floatArrayToString( { 1.0, 2.5, 3.2 }, "");
// Result: 12.53.2 //
floatArrayToString({ 1.0, 2.5, 3.2 }, ", ");
// Result: 1, 2.5, 3.2 //
floatArrayToString({ 1.0, 2.5, 3.2 }, "/");
// Result: 1/2.5/3.2 //