Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
Synopsis:
$trunc(<precision> <float>)
Technical:
This function truncates the given decimal number to the given precision,
rounding up or down as appropriate.
Practical:
This function is useful for rounding floating-point numbers. It may be
used any time, though it is usually most useful when FLOATING_POINT_MATH
is turned on.
Returns:
truncated number
Examples:
$trunc(2 3.141592654) returns "3.14"
$trunc(5 3.54) returns "3.54000"
See Also:
set(4) floating_point_math