[guadec-web-regcfp/develop] Use ceil



commit 175dbc380f8b37e147766125404776a36e0ea889
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date:   Tue Aug 4 22:19:00 2015 +0200

    Use ceil

 models/registration.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/models/registration.js b/models/registration.js
index 1de5ff7..169322a 100644
--- a/models/registration.js
+++ b/models/registration.js
@@ -11,7 +11,7 @@ function get_amount_string(amounts) {
       amount += ", ";
     }
     amount += config['registration']['currencies'][cur]['symbol'];
-    amount += amounts[cur];
+    amount += Math.ceil(amounts[cur]);
   }
   return amount;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]