Link to home
Start Free TrialLog in
Avatar of kristof1104
kristof1104

asked on

Bigdecimal, postrgesql

Hi,

I'm currently developing a JAVA application that needs to calculate financial data, so I'm using BigDecimals to avoid inaccurate calculations.

How should I store these Bigdecimals in a postgresql db? which datatype should I use?

Regards Kristof
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kristof1104
kristof1104

ASKER

Thanks, I went with postgres's Number field, that way you can still use the field as a number in query's
:)