On 2012-12-12 11:23, Richard Mace wrote:
> 
> How's the best way of converting an integer number "208" (that is pence)
> into a string value that is in pounds (2.08)

Divide by 100. Then use FormatFloat() to output as string.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to