![]() |
![]() |
![]() |
function Fixed(S: Single): TFixed; overload;
function Fixed(I: Integer): TFixed; overload;
A couple of TFixed constructors.
In case you don't want your program to loose time on extra function call, you can use another method of converting Integer to TFixed:
var
FX: TFixed;
begin
FX := IntVal shl 16;
...
end;
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007