Delphi XE2 .asFloat implemented?

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
Dokkie
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 09.10.2014, 03:24

Delphi XE2 .asFloat implemented?

Post 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?
RaThek
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 22.01.2014, 16:56

Re: Delphi XE2 .asFloat implemented?

Post by RaThek »

I'm using AsFloat in XE2 and it works correct both ways - get and set.
Dokkie
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 09.10.2014, 03:24

Re: Delphi XE2 .asFloat implemented?

Post 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.
Post Reply