Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,094
    • Issues 2,094
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #30253
Closed
Open
Created Jun 09, 2016 by FPC Admin account@fpc_adminOwner

FormatFloat('#,'...); Become working incorrect after changing screen resolution

Original Reporter info from Mantis: MikhsilSV
  • Reporter name: Mikhail

Description:

Number groups divisor in FormatFloat function becomes invalid after screen reso change

Steps to reproduce:

<code>
procedure TForm1.Button1Click(Sender: TObject);
 var s:string;
begin
  s:=formatfloat('#,', 1500000000.0);
  Memo1.Lines.Add(s);
end;
</code>

Press button1, change screen resolution, press button1 again

Additional information:

---Output of program---
Memo1
1,500,000,000
---after screen resolution has been changed---
1?500?000?000

Mantis conversion info:

  • Mantis ID: 30253
  • OS: Windows
  • OS Build: 7 x64, 8.1 x64
  • Platform: x86
  • Version: 1.7 (SVN)
  • Fixed in revision: 52480 (#b13ba1b0)
Assignee
Assign to
Time tracking