In case it's of any help here's a JavaScript fragment to convert lbs to cwt-qrs-lbs:<br> <br> function lbsToCwtQrsLbs(wtlbs){<br> var lbs = wtlbs % 28; // remainder # lbs after removing qrs from total<br>
var wtqrs = (wtlbs - lbs)/28; // total is now 'wtqrs' qrs plus 'lbs' lbs<br> var qrs = wtqrs % 4; // remainder # qrs after removing cwt from 'wtqrs'<br> var cwt = (wtqrs - qrs)/4; // total is now 'cwt'x 112 + 'qrs'x 28 + 'lbs'<br>
if ((lbs==0)&&(qrs==0)){return cwt+'cwt';}<br> return cwt+'-'+qrs+'-'+lbs;<br> }<br><br>Peter Trotman<br><br><div><span class="gmail_quote">On 5/21/08, <b class="gmail_sendername">Mike Chester</b> <<a href="mailto:mike@Dsk5Pd721MwXUm0CzTkLmLDmtKt_HZguzRo-QxdvgVJK8p0IeiXlo5zO1aVTy2JI0pPmgElOLfOptQvyLn1y6AuKwv1L.yahoo.invalid">mike@Dsk5Pd721MwXUm0CzTkLmLDmtKt_HZguzRo-QxdvgVJK8p0IeiXlo5zO1aVTy2JI0pPmgElOLfOptQvyLn1y6AuKwv1L.yahoo.invalid</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="background-color: rgb(255, 255, 255);">
<div style="width: 655px;">
<div style="margin: 0pt; padding: 0pt 25px 0pt 0pt; width: 470px; float: left;">
<div>
<p>--- In <a href="mailto:bellhistorians%40yahoogroups.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bellhistorians@yahoogroups.com</a>, "Alan Buswell" <aaj.buswell@...> <br>
wrote:<span class="q"><br>
> Does anyone have a formula whereby one can add/subtract Tons - <br>
> hundredweight - quarters - pounds suitable for computer use? I'm not <br>
> well up in these matters.<br>
> <br>
> Alan B.<br>
><br>
<br></span>
Depending on how many you might want to do you might use this site?.<br>
<br>
<a href="http://home.swbell.net/csz_stl/towerbells/Cwt-Qtr-Lb_Calculator.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://home.swbell.net/csz_stl/towerbells/Cwt-Qtr-Lb_Calculator.html</a><br>
<br>
Could convert things into pounds, add them up and covert them back into <br>
Lsd?<br>
<br>
Mike<br>
<br>
</p>
</div>
<span width="1" style="color: white;"></span>
</div>
</blockquote></div><br>