[DUG] Need help in format function

Colin Johnsun colin.adug at gmail.com
Thu Mar 4 09:44:27 NZDT 2010


Hey Phil :)

You beat me too it!

It's clean, readable and concise.
Plus there's no mucking around with strings!!

+1 from me :)

cheers, Colin

On Thursday, March 4, 2010, Phil Scadden <p.scadden at gns.cri.nz> wrote:
> I think it easier to do format( '%.2f', [trunc(value*100)/100]);
>
>
> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>


More information about the Delphi mailing list