Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datatype for storing numbers

Status
Not open for further replies.

password99

Technical User
Jul 19, 2002
122
US
I need to store values ranging from -999.99 to 999.99

What datatype do you recommend for storing these values?
 
From BOL:

smallint
Integer data from 2^15 (-32,768) through 2^15 - 1 (32,767).


--Angel [rainbow]
-----------------------------------
Every time I lose my mind, I wonder
if it's really worth finding.
 
Oops! A little too quick.

decimal
Fixed precision and scale numeric data from -10^38 +1 through 10^38 –1.


--Angel [rainbow]
-----------------------------------
Every time I lose my mind, I wonder
if it's really worth finding.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top