Lee Jenkins wrote:
> John Meyer wrote:
>> I tried a search at lazarus.freepascal.org, and it didn't get anywhere,
>> so if somebody could help me out by telling me how I convert a string
>> (specifically, from a TEdit control) to a currency and versey vicey, I'd
>> appreciate it.
>>
>
> Maybe StrToFloat(AString);  ??
>
Thanks!  That worked, but I have one question.  If you have a Currency
type, why are you throwing it to a function named StrToFloat?  Why not
StrToCur or StrToCurrency?  Just asking so I know not to make that
mistake in the future.

-- 
The NCP Revue -- http://www.ncprevue.com/blog

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

Reply via email to