[interchange-cvs] interchange - kwalsh modified
code/Filter/round.filter
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Nov 14 19:58:26 EST 2007
User: kwalsh
Date: 2007-11-15 00:58:26 GMT
Modified: code/Filter round.filter
Log:
* Changed the filter description. The user probably doesn't care
that it uses a routine in Vend::Util to get the job done.
Revision Changes Path
1.3 +2 -2 interchange/code/Filter/round.filter
rev 1.3, prev_rev 1.2
Index: round.filter
===================================================================
RCS file: /var/cvs/interchange/code/Filter/round.filter,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- round.filter 30 Mar 2007 23:40:45 -0000 1.2
+++ round.filter 15 Nov 2007 00:58:26 -0000 1.3
@@ -6,10 +6,10 @@
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. See the LICENSE file for details.
#
-# $Id: round.filter,v 1.2 2007/03/30 23:40:45 pajamian Exp $
+# $Id: round.filter,v 1.3 2007/11/15 00:58:26 kwalsh Exp $
CodeDef round Filter
-CodeDef round Description Rounds in floating-point-safe way using Vend::Util routine
+CodeDef round Description Round numeric value to the spcified number of decimal places (or 2)
CodeDef round Routine <<EOR
sub {
my ($val, undef, $digits) = @_;
More information about the interchange-cvs
mailing list