double minus double giving precision problems

Use the decimal data type. “The Decimal value type is appropriate for financial calculations requiring large numbers of significant integral and fractional digits and no round-off errors.”

Leave a Comment