Question

I want to store values in a bunch of currencies and I'm not too keen on the imprecise nature of floats. Being able to do math on them directly in queries is also a requirement.

Is Decimal the way to go here?

Was it helpful?

Solution

Decimal is the best way to go.

You can still do math within the queries.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top