[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

precision of a service

Where is the precision (rounding) for a service specified?
We have an item which we buy, which our vendor calculates.
It seems to have a precision set of 1, which causes "24.18"
to become "24.2" which is wrong.  Looking at the HTML, I noticed:
"precision_4" has a value of "1", which for all other items was "2".

<td><input name="description_4"  size=48 value="maintenance
<td align=right class="qty"><input name="qty_4" title="0" size="5"
<td class="unit"><input name="unit_4" size=5 value=""></td>
<td class="onhand">0</td>
<td align=right class="sellprice"><input name="sellprice_4" size="9"
<td align=right class="discount"><input name="discount_4" size="3"
<td align=right class="linetotal">24.18</td>
<td class="taxform"><input type="checkbox" name="taxformcheck_4" value="1"
<input type=hidden name="oldqty_4" value="1">
<input type="hidden" name="image_4" value="" />
<input type="hidden" name="orderitems_id_4" value="" />
<input type="hidden" name="id_4" value="12356" />
<input type="hidden" name="bin_4" value="" />
<input type="hidden" name="weight_4" value="0" />
<input type="hidden" name="listprice_4" value="" />
<input type="hidden" name="lastcost_4" value="" />
<input type="hidden" name="taxaccounts_4" value="2320 2310 2311" />
<input type="hidden" name="pricematrix_4" value="" />
<input type="hidden" name="sku_4" value="pbx" />
<input type="hidden" name="onhand_4" value="0" />
<input type="hidden" name="assembly_4" value="" />
<input type="hidden" name="inventory_accno_id_4" value="" />
<input type="hidden" name="income_accno_id_4" value="21" />
<input type="hidden" name="expense_accno_id_4" value="26" />
<input type="hidden" name="invoice_id_4" value="2404" />
<input type="hidden" name="precision_4" value="1" />

        <tr valign=top class="ext2">

]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     ..hidden..  http://www.sandelman.ca/        |   ruby on rails    [

Slashdot TV.  Video for Nerds.  Stuff that Matters.
Ledger-smb-users mailing list