On 5/11/07, John Meyer [EMAIL PROTECTED] wrote:
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
Sébastien TACK wrote:
It's a miracle of Oriented Object Progamming !
StrToFloat can take a large type of value Single, Double, Currency.
Every method are overload.
Overloading methods is something different from polymorphism in object oriented
programming (where virtual methods are key in
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.
_
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); ??
--
Warm
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
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