covert decimal to double