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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SPROC division 1

Status
Not open for further replies.

scotttom

IS-IT--Management
Mar 5, 2002
143
US
Why am I getting a result of .0000000


Convert(numeric(10,7),(2000/(tblCatalog.Concentration))) AS ADDTHIS

Thanks in advance!
 
Integer Math!

Try this....

Code:
Select 2/10

Select 2.0/10

Notice how the first returns 0 and the second returns 0.2?

So...

[tt][blue]Convert(numeric(10,7),(2000[!].0[/!]/(tblCatalog.Concentration))) AS ADDTHIS[/blue][/tt]

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
DAMN! it's amazing how little things can cause such huge dents in so many walls.

Thanks,

Scott
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top