? example.patch
Index: uc_donate/uc_donate.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_donation/uc_donate/uc_donate.js,v
retrieving revision 1.1.4.3
diff -u -p -r1.1.4.3 uc_donate.js
--- uc_donate/uc_donate.js	29 Jan 2009 22:10:22 -0000	1.1.4.3
+++ uc_donate/uc_donate.js	26 May 2009 20:11:57 -0000
@@ -48,7 +48,7 @@ Drupal.Donate.total.prototype.fieldInit 
 Drupal.Donate.formatTotal = function(total) {
   var newTotal = total;
   if (typeof total == 'string') {
-    newTotal = newTotal.replace(/[^0-9]/g, '');
+    newTotal = newTotal.replace(/[^0-9.]/g, '');
   }
   newTotal = Math.round(newTotal*100)/100;
   newTotal = newTotal.toFixed(2);
