Converts the value in <Integer> or all characters in <String> to data type Decimal. Converts a String to Decimal ONLY if all characters in <String> are numeric and contain not more than one decimal point. If any non-numeric characters are present in <String> (other than the single decimal point or a leading minus sign), no value is returned by the function.
Note: Integer values may be assigned directly to Decimal data types without using the .toDecimal operator because a Decimal data type is more expansive than an Integer.