![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
real and integer [D7, XP]
Adios © (2007-08-24 13:53:00)помогите реализовать:
var sW,fW,leftres:real;
begin
leftres:=sW-fW;
leftres:=leftres/2;
form1.Left:=leftres;
end;
Adios (2007-08-24 15:16:00) [1]ок спасибо!!
max_ (2007-08-24 15:14:00) [2]а может быть -
form1.Left:=round((sW-fW)/2);
Vlad Oshin (2007-08-24 14:16:00) [3]
> form1.Left:=round(leftres);
т.е.
Vlad Oshin (2007-08-24 14:15:00) [4]leftres:=round (leftres/2);
alshtam (2007-08-24 13:59:00) [5]form1.Left:=leftres;
заменить на
form1.Left:=round(leftres);
Zeqfreed (2007-08-24 13:57:00) [6]div вместо / ?