The result is rounded to the number of decimal places that is specified in the variable declaration (where the target type is DECIMAL). The function is typically used in EGL migration, but can be useful when you cannot determine the type of the target variable. For more information about rounding, overflow, and version compatibility, see Rounding and truncation between numeric types.
mathLib.assign( source FLOAT | HEX(8) | HEX(16) in target SMALLINT | INT | BIGINT | DECIMAL | SMALLFLOAT | FLOAT | HEX(8) | HEX(16) out )