The vgLib.floatingProduct() system function promotes two numbers to double-precision floating point type, multiplies them together, and returns the product.
vgLib.floatingProduct() is one of a number of functions maintained for compatibility with earlier versions. New code should use standard EGL operators for these purposes.
vgLib.floatingProduct(
operand1 FLOAT in,
operand2 FLOAT in)
returns (result FLOAT)
The following example shows the vgLib.floatingProduct() function:
myVar01, myVar02, result FLOAT;
myVar01 = 19;
myVar02 = 7;
result = vgLib.floatingProduct(myVar01,myVar02);
// result = 133.0