Log Message:
-----------
Corrected documentation for the ?{4.56:%0.2f} and !{4.5645:%0.2f} constructions --
their behavior had been reversed. Indicated that the !{ } construction is
deprecated since it behave just like {4.5645:%0.2f}
Modified Files:
--------------
pg/macros:
PGbasicmacros.pl
Revision Data
-------------
Index: PGbasicmacros.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/PGbasicmacros.pl,v
retrieving revision 1.50
retrieving revision 1.51
diff -Lmacros/PGbasicmacros.pl -Lmacros/PGbasicmacros.pl -u -r1.50 -r1.51
--- macros/PGbasicmacros.pl
+++ macros/PGbasicmacros.pl
@@ -1370,11 +1370,13 @@
Two additional legacy formatting constructions are also supported:
-C<?{$c:%0.3f} > will give a number with 3 decimal places and a negative
-sign if the number is negative, no sign if the number is positive.
-
-C<!{$c:%0.3f}> determines the sign and prints it
-whether the number is positive or negative.
+C<!{$c:%0.3f} > will give a number with 3 decimal places and a negative
+sign if the number is negative, no sign if the number is positive. Since this is
+identical to the behavior of C<{$c:%0.3f}> the use of this syntax is depricated.
+
+C<?{$c:%0.3f}> determines the sign and prints it
+whether the number is positive or negative. You can use this
+to force an expression such as C<+5.456>.
=head3 EV2
|