Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/RTL/Delphi/Format + Float    [ Add a report in this area ]  
Report #:  50687   Status: Open
add a new format specifier
Project:  Delphi Build #:  11.0.2627.5503
Version:    11.0 Submitted By:   Lucian Radulescu
Report Type:  Suggestion / Enhancement Request Date Reported:  8/17/2007 6:28:24 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   254216
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: None
Please add a new format specifier, similar with "n" but that works for integer type arguments so we don't have to type-cast or write our own routines.

For floating point types we have: e, f, g, n, m
For integer types we only have: d and u

I believe K (see description) would make a great addition, plus, we have this stuff unchanged since what, Turbo Pascal 4, 5?

Please add K. Thank you very much.
Steps to Reproduce:
If, supposedly this new specifier would be "k", its type description (as listed in the help file) would be:


Number. The argument must be an integer value. The value is converted to a string of the form "-d,ddd,ddd.ddd...". The "k" format corresponds to the "f" format, except that the resulting string contains thousand separators and no decimals.

Lucian Radulescu at 8/29/2009 1:33:41 PM -
C'moooooooon ........ 2 years ?

Server Response from: ETNACODE01