In short form then: Put 23 into tX; Put 8 into tY; Put tX & “/“ & tY && “=“ && (tX div tY) && (tX mod tY) & “/“ & tY into tCalcString Sean Cole Pi Digital Prod Ltd > On 25 Jun 2019, at 09:09, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote: > > Q := X div Y > R := X mod Y > > Then you have that: > > X/Y = Q + R/Y