My Assistant
|
|
Mar 21 2006, 03:41 PM
Post
#1
|
|
|
UtterAccess Addict Posts: 146 |
The following Select is returning 10 decimal places. How can I get it to return only 2 decimal places?
CODE IIf([Inventory]![NumPerCase]>0,
Round([UNFI Pricelist]![CSRP]/[Inventory]![NumPerCase],2), Round([UNFI Pricelist]![CSRP],2)) AS [New Price] |
|
|
|
![]() |
Mar 21 2006, 03:50 PM
Post
#2
|
|
|
UtterAccess Addict Posts: 146 |
I initially thought I was getting so many decimal places from the division, but it's actually coming from the false part of the IIF. For some reason I don't understand, 2.49 becomes 2.49000000953674
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 25th May 2013 - 08:10 AM |