[fpc-other]How can I change the variable value?
Michael Wodrich
Michael.Wodrich@gmx.de
Sat, 17 Nov 2001 20:56:30 +0200
von: Michael Wodrich
verfasst: 17.11.2001 20:51:57 (GMT+02.00)
Dividing two numbers results in a REAL number.
For this reason you MUST take DIV to get an INTEGER.
hth
Michael Wodrich
Noah silva schrieb am 16.11.2001:
>Think about it:
>
>for example: 15 / 2 isn't an integer, even though 15 and 2 are both
>integers.
>
>On Fri, 16 Nov 2001, Du xiaobo wrote:
>
>> When I tried to perform the function of dividing one INTEGER:20 by
>> another INTEGER:10, I always got the statment that the result is in
>REAL
>> type instead of INTEGER as expected. what happened and How can I
>change
>> the setting?
>> Thanks in advance!
--
Programmieren, dass spannendste Detektivspiel der Welt.