On Tue, Oct 07, 2003 at 12:20:17PM -0700, Yitzchak Scott-Thoennes <sthoenna@efn.org> wrote: > $result = floor($result+.5) if abs($result/floor($result+.5)) < 1e-14 That should have been: $result = floor($result+.5) if $result != 0 && abs(floor($result+.5)/$result) < 1e-14;Thread Previous | Thread Next