Solved

Decimal separator

Posted on 2001-06-07
3
357 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

628 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