ValuesFormat property

I can't seem to find the options for the ValuesFormat property.

The documentation uses %g and %g,000, but fails to explain what these actually do.

I need to display currency, which in Delphi is simply #,###.00.

Dear Mr. Choi, 


This is basic Delphi formatting which is explained at the following URL:

http://www.delphibasics.co.uk/RTL.asp?Name=Format

If you want to use a different type of formatting, change the ValueFormatType property to vftFloat which uses the FormatFloat functionality.

http://www.delphibasics.co.uk/RTL.asp?Name=FormatFloat

Kind Regards, 
Pieter

Pieter Scheldeman2015-04-27 11:10:53

thank you very much.