Hi, Floor and Ceil (math unit) only return integers. Should there be an overloaded one for Int64 as well?
B = 11111111111.111100000000000 Trunc(B) = 11111111111 [00000002964619C7] Frac(B) = 0.111110687255859 Floor(B) = -1773790777 [FFFFFFFF964619C7] //expected: 11111111111 Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal