21:12 Examples:
21:12    $trunc(2 3.141592654)                 returns "3.14"
21:12    $trunc(5 3.54)                        returns "3.54000"

Hmm, but $trunc(0 3.141592654) returns nothing.  I have new_math on, but
doubt this has much to do with it.  I would generally consider this to
be a bug in implementation.

We've also determined that it rounds.  Rounding is probably not what you
want in trunc either.  I consider this a bug in the naming of the
function, round should round, trunc should trunc.

-- 
Joseph Carter <[EMAIL PROTECTED]>            Free software developer

<Culus-> libc6 is not essential :|

PGP signature

Reply via email to