2006/8/3, ArĂ­ Ricardo Ody <[EMAIL PROTECTED]>:
I have similar trouble in the past. What do I do: Before StrToFloat I
call a function that replaces the comma by decimal point.

Probably there is a better solution. We'll see it now.

Changing the DecimalSeparator like Burkhard Carstens and you said is
doing the thing. This is not clean but it does the job. (Because you
must save the actual separator, set the new one, call the function,
set the old separator back).

Also all that will cause incredible problems in multi-threading
applications because it is not multi-threaded compatible since the
DecimalSeparator is good for all the threads at the same time.

Best regards.

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to