By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,766 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,766 IT Pros & Developers. It's quick & easy.

DECIMAL vs INT

P: 72
Hi all,

Maybe this is a really stupid question, but which is better to use for whole numbers, INT or DECIMAL (x,0)?

I've seen varying recommendations and uses in documentation online. One article suggested that INT is a deprecated data type, which I can't believe.

Any thoughts?

Regards.
Nov 17 '08 #1
Share this Question
Share on Google+
1 Reply


debasisdas
Expert 5K+
P: 8,127
you need to go for decimal type.
Nov 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.