Am Donnerstag, 3. August 2006 21:33 schrieb Alexandre Leclerc:
> 2006/8/3, Alexandre Leclerc <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > I use FloatToStr and it uses local settings for the formating of
> > the number. But I would like a very crude machine compatible
> > number... ie: '1,23$ => 1.23' or again '1,234,222.12 => 1234222.12'
>
> In fact (I want to display the problem very simply):
> s := FloatToStr(123.456);
> //s is now '123,456' with my local settings
> e := StrToFloat(s); //this will fail because of the coma; but this is
> my local setting!!!
>
> So I want to use only '.' separators...

Doesn't "decimalseparator:='.';"  work?

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

Reply via email to