Delphi XE2 .asFloat implemented?
Posted: 09.10.2014, 03:36
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?
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?