Jump to content


Photo

float value with "." and not ","


  • Please log in to reply
2 replies to this topic

#1 steff

steff
  • Members
  • 5 posts

Posted 15 July 2006 - 06:58 AM

How can I have the "." for decimal value ?

The comma is not good for my application. I would change it for point.

thanks

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 16 July 2006 - 02:30 AM

Hello,

Maybe you have set ',' default as DecimalSeparator in Delphi?

Try to add this code in OnCreate of main Form:

DecimaSeparator := '.';

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 steff

steff
  • Members
  • 5 posts

Posted 16 July 2006 - 07:34 AM

QUOTE (Boki (Berg) @ Jul 15 2006, 09:30 PM) <{POST_SNAPBACK}>
Hello,

Maybe you have set ',' default as DecimalSeparator in Delphi?

Try to add this code in OnCreate of main Form:

DecimaSeparator := '.';

regards


thanls a lot !!!! I'm stupid... Programmer in Vb6, RealBasic and return on delphi after 5 years... I'm so old...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users