On Wed, Dec 12, 2012 at 11:23:46AM +0000, Richard Mace wrote: > Hi All, > Got a simple question that has stumped me, which tends to happen if I don't > do development for a couple of months. > > How's the best way of converting an integer number "208" (that is pence) > into a string value that is in pounds (2.08)
Format('%d.%.2d', [Price div 100, Price mod 100]) Henry -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus