Re: converting between extended and string types?


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by Rbrrneck on August 06, 2002 at 11:40:40:

In Reply to: converting between extended and string types? posted by Jimbo on August 06, 2002 at 02:39:37:

: Hi

: I wish to display the result of a sum (which is an extended data type) in a label but the debugger says string and extended are incompatible data types - how can I make the extended into a string?

: Any help much appreciated!

: Jimbo :)

Try putting label1.caption:=string(the sum) or
label1.caption:=inttostr(the sum)

 


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]