I'm having problems assigning Integer types to Single.
In the 32bit compiler it won't allow single:= int32, but will allow single:= int64.
In the 64bit compiler it won't allow single:= int64, but will allow single:= int32.
I'm puzzled. Ignoring the inconsistency...
Is there a "correct" way to assign an integer type to a floating point type?
I know there is a restriction was the other way round, integer:= real, requires trunc(real) or round(real).
But my understanding is that real:=integer should be allowed.