[interchange-cvs] interchange - heins modified dist/standard/config/pay_cert_redeem.tag

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Jan 18 17:16:09 EST 2006


User:      heins
Date:      2006-01-18 22:16:09 GMT
Modified:  dist/standard/config Tag: STABLE_5_4-branch
Modified:           pay_cert_redeem.tag
Log:
* Fix rounding error that could make total comparisons wrong.

Revision  Changes    Path
No                   revision



No                   revision



1.2.2.1   +1 -1      interchange/dist/standard/config/pay_cert_redeem.tag


rev 1.2.2.1, prev_rev 1.2
Index: pay_cert_redeem.tag
===================================================================
RCS file: /var/cvs/interchange/dist/standard/config/pay_cert_redeem.tag,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- pay_cert_redeem.tag	26 Apr 2004 19:29:02 -0000	1.2
+++ pay_cert_redeem.tag	18 Jan 2006 22:16:09 -0000	1.2.2.1
@@ -42,7 +42,7 @@
 		}
 	}
 	else {
-		my $total_cost = $Tag->total_cost( { noformat => 1 });
+		my $total_cost = round_to_frac_digits($Tag->total_cost( { noformat => 1 }));
 		my $remaining = $total_cost;
 
 		$certs ||= $::Values->{use_pay_cert} || $::Scratch->{pay_cert_code};








More information about the interchange-cvs mailing list