Bug in FormatFloat when running in 64-bit - Drops "e" at end of format string


Delphi XE7 summer and winter hotfixes applied. Format float will drop a trailing "e" in the format string when running in 64-bit mode. Create a new project, drop a button on the form and in the OnClick event of the button insert the following code:

  ShowMessage(FormatFloat(',0.00 Balance', 12345.1));

Running in 32-bit works as expected but when run in 64-bit the last "e" in the word Balance will be lost. (see below example)


64bit result of formatfloat

Responses (1)
  • Accepted Answer

    Thursday, September 22 2016, 05:21 PM - #Permalink

    I created a bug for you: https://quality.embarcadero.com/browse/RSP-15920

    The reply is currently minimized Show
Your Reply

Please login to post a reply.........