Thanks Guys you are all correct its a ',' problem. Cheers I've learnt
something new. Chocolate fishes all round.
> -Original Message-
> From: Max Nilson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 2 October 2003 10:38 a.m.
> To: Multiple recipients of list
be something like that.
There is also one for number seperator also.
HTH.
Jeremy
-Original Message-
From: "Paul Mckenzie" <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Thu, 2 Oct 2003 10:43:16 +1200
Subject: Re: [DUG]: Spanish
Paul Mckenzie wrote:
> Possible - Some languages use "," instead of "." for the decimal point.
The Spanish definately do use a comma as the decimal separator and a
full-stop as the thousands separator, as do most European countries and
South America. You can temporarily change the separator stri
Do the Spanish use the ',' for their decimal place and the '.' for their
thousands separator?
Phil
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, October 02, 2003 10:16 AM
Subject: [DUG]: Spanish Problem
> Hi,
[EMAIL PROTECTED] asked:
> The above function extracts 287.472 which ends up as 287 in Depth
>
> Any ideas why this may fail on a Spanish OS.
It could be because Spanish (like many European counties) uses , (comma) as
the decimal seperator, and the numbers with . (dot) as a seperator get the
co
Your program is probably failing when you call StrToFloat? I suggest you
check the decimal separator in the regional settings in the computer. I
think if you set your locale to Spanish, this changes the decimal separator
to ',' and the thousand separator to '.' (its a euro thing). To fix this
si
Beware that in Europe they quite often use "," where we use "." and use "."
where we use ",". So if this is the case, the real part should be formatted
in the file as "287,472" instead of "287.472"
You can easily test by changing your regional settings to this and running
your program.
Myles.
--
Possible - Some languages use "," instead of "." for the decimal point.
HTH
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, October 02, 2003 10:16 AM
Subject: [