Go to: Synopsis. Return value. MEL examples.

Synopsis

string floatArrayToString( float $array[], string $separationString )

Return a string that combines all the float elements of $array, each separated by the separation string.

Return value

None

Arguments

Variable Name Variable Type Description
$arrayfloat[]The float array.
$separationStringstringDefines the characters to place between each float element.

MEL examples

	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 //