2006/6/27, Michael Van Canneyt <[EMAIL PROTECTED]>:


On Tue, 27 Jun 2006, Alexandre Leclerc wrote:

> 2006/6/27, Alexandre Leclerc <[EMAIL PROTECTED]>:
> > I've looked in many rtl units for a IsNumeric() like function. Any
> > arround or I should code one?
>
> Ok, TextToFloat will do the trick. :)

Better, use TryTextToFloat - it saves you an exception :)

Ha! I would had a surprise at runtime :) Thanks. I'll use
TryStrToFloat in factr, this is exactly what I was looking for (kind
of).

--
Alexandre Leclerc

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

Reply via email to