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

Multiplication of numeric with decimals 1

Status
Not open for further replies.

DPaul1994

Programmer
Mar 9, 2015
46
0
0
RO
Hi there.
I want to multiplicate 5 numbers, each one with 2 decimals, but the final result have only 2 decimals. Anyone know how to do that?
 
You can use normal multiplication (or division) for the formula calculation. Then use ROUND(lnResult, 2) to round the result value to just two decimals. If you are storing, I would store into a N(14,2) field; I have had issues with rounding when storing into a currency field and getting the "penny" to balance in calculations.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top