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

Decimal Data Type

Status
Not open for further replies.

JPep

Programmer
Dec 28, 1999
11
US
I have a field set as a decimal data type. However, when I update the field with a calculation, (A+B+C+D)/E - these letters are fields, it does not show as a decimal.<br><br>Example - (2+5+9+0)/3 - should equal 5.33, it is calculating as just 5.&nbsp;&nbsp;<br><br>Is there something I am missing that I would need to do in my update?<br><br>Thank you!
 
I figured it out - the scale on the data type needs to be set as well.&nbsp;&nbsp;I just thought it was the precision.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top