Function Fix Ups Class

FixUpVariantToDecimalMandFn

"Fix Up Variant To Decimal Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Decimal data type. Return True if the conversion was completed successfully. Return False otherwise.

Signature (Visual Basic / VBA)

Public Function FixUpVariantToDecimalMandFn( _
    ByRef rArgument As Variant _
    ) As Boolean

Parameters

Parameter Description
rArgument The argument which is changed to a Decimal value, if possible. Function returns False if conversion was not possible, such as when the argument is out-of-range, missing, Null, an error, a pointer, or a non-numeric string.

Notes & Version History

Note rArgument is a passed by reference, so the variable passed from the calling function will likely be modified.
v1.5 Addition This function is new to version 1.5 of Entisoft Tools.