> How do you typecast from Int64 to Extended?

As others have pointed out Int64 is 8 byte and Extended is 10 byte - thus
typecasting is not appropriate - though nothing stopping assigning an Int64
value to an Extended, something akin to:

var
     I: Int64;
     X: Extended;
begin
     I := 1234567890123;
     X := I;
     .....


Glenn Crouch, mailto:[EMAIL PROTECTED]
ESB Consultancy, http://www.esbconsult.com
Home of ESBPCS, ESB Calculators, ESBStats and ESBPDF Analysis
Kalgoorlie-Boulder, Western Australia 





_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to