RE: [Groff] Integer arithmetic

2009-10-14 Thread Ted Harding
On 14-Oct-09 11:12:19, Miklos Somogyi wrote: > Hello, in real world this is sooo easy: > > h = 105,5 mm > w = h *0.36 > > In groff world 105.5 and 0.36 needs to come in centimeters, then some > correction needs to be applied. > > Let's say that h is already done and contains roughly 300,000u.

[Groff] Integer arithmetic

2009-10-14 Thread Miklos Somogyi
Hello, in real world this is sooo easy: h = 105,5 mm w = h *0.36 In groff world 105.5 and 0.36 needs to come in centimeters, then some correction needs to be applied. Let's say that h is already done and contains roughly 300,000u. The 0.36 may come as some 10,000 for 0.36c and some 28,000 fo