Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7701533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:00:36+00:00 2026-05-31T23:00:36+00:00

Is there a Windows API call or Delphi call that will tell me what

  • 0

Is there a Windows API call or Delphi call that will tell me what character set Delphi 6 is expecting to be used by numbers by its format conversion routines such as StrToFloat()? For example, how can I find out if Delphi will expect to see a comma or a period for the decimal point?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:00:37+00:00Added an answer on May 31, 2026 at 11:00 pm

    Not sure if GetLocaleFormatSettings is available in D6. (but it’s not in D5).
    You could use DecimalSeparator global variable (SysUtils).

    StrToFloat:

    The DecimalSeparator global variable defines the character that must
    be used as a decimal point. Thousand separators (ThousandSeparator) and currency symbols
    are not allowed in the string. If S doesn’t contain a valid value,
    StrToFloat raises an EConvertError exception.

    DecimalSeparator is assigned by the SysUtils unit by internally using the GetLocaleInfo API with LCType of LOCALE_SDECIMAL, and maintained automatically in the Forms unit in response to WM_SETTINGSCHANGE (GUI application only).


    Edit:

    • GetLocaleFormatSettings is available since D7.
    • DecimalSeparator is deprecated in newer version of Delphi (Use FormatSettings.DecimalSeparator).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a Windows API call that will tell me if I'm running on
Is there a hidden/undocumented API call within Windows that will convert a message ID
I am looking for a Windows API that I can call from Delphi 2010
In Delphi 2009 and Windows API, is there a way to detect that a
since Windows Vista there is an new Win32-API call CreateSymbolicLink to create a symbolic
Are there Windows API functions that allows reading what the current password policy is?
On Windows, there exists the GetProcessAffinityMask API call, and there also exists a roundabout
When I use the Windows API call GetFileSizeEx() from my Delphi 6 app on
I'm using the Windows API GetNumberFormatEx to format some numbers for display with the
Is there a windows API call or some way to translate the paths of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.