Job Costs Posting to Wrong Subcategory

Problem

posts to wrong subcategory in MacNail construction accounting software. Posts to next lower subcategory when updating job costs, if subcategory is added as a decimal to the main category

Diagnosis

item has 3.03 in category column of ledger or log
posts to subcategory 2
occurs when certain math accelerators are in use

due to a nasty rounding error where 3.03 is converted to 3.029999999 which is then truncated to subcategory 2.

Solution

Fixed in 1/18/95 remastering
can also go into the Cost Control Manager and change D17 from:
=IF(D16>0,SET.NAME("subcat",TRUNC(D16)))
to
=IF(D16 >0,SET.NAME("subcat",ROUND(D16,0)))

 

Comments

Entered 1/18/95 by Dennis. Updated 11/20/2010.