Page 1 of 1

Delphi XE2 .asFloat implemented?

Posted: 09.10.2014, 03:36
by Dokkie
I'm using Zeos with Delphi XE2 and Lazarus as well as codetyphon.

It appears that the <SomeField>.AsFloat is not implemented in Delphi. Any attempt to assign a float value eg 22/7 to a float field always returns '?.?<E2060'
If I assign the same value of 22/7 to <SomeField>.AsFloat in Lazarus or CodeTyphon then the value 3.142857142857143 is assigned as expected.
Has AsFloat property/method not been implemented in Delphi XE2?

Re: Delphi XE2 .asFloat implemented?

Posted: 22.10.2014, 13:24
by RaThek
I'm using AsFloat in XE2 and it works correct both ways - get and set.

Re: Delphi XE2 .asFloat implemented?

Posted: 29.10.2014, 04:33
by Dokkie
thanks for your reply.
I'll try my small test project on my desktop computer later. Perhaps there's a problem with my laptop installation.