HyperCard: Trunc() Function Limitation (7/92)

The trunc() function may not return correct values when you supply a
parameter greater than or equal to 2^31 (2147483648).

For example:

trunc(9876543210/2) = -2147483647
trunc(22222222222) = -2147483647

This accuracy problem seems to be related to limitations in the way
HyperCard handles SANE routines.


This article is adapted from the Claris Tech Info database.
Published Date: Feb 19, 2012