Log Message:
-----------
Fixed documentation typos.
Modified Files:
--------------
pg/macros:
contextCurrency.pl
Revision Data
-------------
Index: contextCurrency.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/contextCurrency.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -Lmacros/contextCurrency.pl -Lmacros/contextCurrency.pl -u -r1.15 -r1.16
--- macros/contextCurrency.pl
+++ macros/contextCurrency.pl
@@ -125,7 +125,7 @@
ANS(Compute('$10.95')->cmp(forceDecimals=>1));
By default, if the monitary value includes decimals digits, it
-must have exactly two. You can weaken this requirement to all
+must have exactly two. You can weaken this requirement to allow
any number of decimals by using noExtraDecimals=>0.
ANS(Compute('$10.23372')->cmp(noExtraDecimals=>0);
@@ -142,7 +142,7 @@
It can also be set on an individual currency value:
- $m = Compute("$50")->with(trimtrailingZeros=>1);
+ $m = Compute('$50')->with(trimtrailingZeros=>1);
so that this $m will print as $50 rather than $50.00.
|