Solved

Decimal separator

Posted on 2001-06-07
3
351 Views
Last Modified: 2010-04-06
Is there a simple way to tell which decimal separator (e.g ' or . ) the system uses?
0
Comment
Question by:ljanssens
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Epsylon earned 50 total points
ID: 6165254
Yep, DecimalSeparator:

ShowMessage(DecimalSeparator);
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6165262
You can also change it if you want:

DecimalSeparator := '.';

DecimalSeparator := ',';
0
 
LVL 4

Expert Comment

by:DMN
ID: 6165478
Yes. If you wish to change separator within your Delphi application, use DecimalSeparator global variable. But if you wish to redefine SYSTEM decimal separator, then change it in WIN.INI file, section [intl], ident iDECIMAL. Just set it equal to whatever you want.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question