Note: Before using this function, use ProElementDecimalsSet() to assign the number of decimal places to be used for the double value.