This is a multi-part message in MIME format. --------------4BB980C363E372AD2CEBFB99 Content-Type: text/plain; charset=koi8-r Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit What about type conversion. I tried lately to calculate the floor after a floating point calculation. I was quite surprised about the result. result : integer; fval : float; ... for i in 1..10 loop fval := float(2 * i + 1); result := integer( fval / 2.0 - 0.5); put(result); put_line(""); end loop; fval -> 3, 5, .. 21 expected result 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 on the SUN I got the correct result but on the target (SVME160) the result was: 0, 2, 2, 4, 4, 6, 6, 8, 8, 10 Is this a bug? Or I'm I doing something wrong? I found in ANSI/MIL-STD1815A under 4.6 Type Conversion [...] (a) Numeric types [...] The conversion of a real value to an integer type rounds to the nearest integer; if the operand is halfway between two integers (within the accuracy of the real subtype) rounding may be either up or down. Shouldn't "either" mean one or the other? Does anyone have a workaround without adding some EPSILON? Thanx mark --------------4BB980C363E372AD2CEBFB99 Content-Type: text/x-vcard; charset=koi8-r; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Lusti, Mark Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Lusti, Mark n: Lusti;Mark org: @Home adr: Mattackerstrasse 6;;;Z�rich;;CH-8052 ; email;internet: mark.lusti@bluewin.ch tel;work: +41-1-316 2967 tel;home: +41-1-301 0842 x-mozilla-cpt: ;0 x-mozilla-html: FALSE end: vcard --------------4BB980C363E372AD2CEBFB99--