diff index.html @ 14:72ee98d173a4

Raise rate
author nanaya <me@myconan.net>
date Wed, 03 Aug 2016 22:49:36 +0900
parents 9f4d926cb9c5
children 1f999668080f
line wrap: on
line diff
--- a/index.html	Wed Aug 03 22:48:47 2016 +0900
+++ b/index.html	Wed Aug 03 22:49:36 2016 +0900
@@ -81,7 +81,7 @@
       <li>Perhitungan:
         <ul>
           <li>Bank: <code>jumlah &times; 1.07 &times; nilai_tukar</code>, dibulatkan ke seribuan terdekat.</li>
-          <li>Bank (alt): <code>jumlah &times; 1.02 &times; nilai_tukar + (25000 * ceil(jumlah / 35000))</code>, dibulatkan ke seribuan terdekat. Rekeningnya sama.</li>
+          <li>Bank (alt): <code>jumlah &times; 1.04 &times; nilai_tukar + (25000 * ceil(jumlah / 35000))</code>, dibulatkan ke seribuan terdekat. Rekeningnya sama.</li>
           <li>PayPal: <code>jumlah &times; 1.05</code>, dibulatkan ke satuan terdekat.</li>
         </ul>
       </li>
@@ -117,7 +117,7 @@
 
       if (rates.bni !== 0) {
         $("#rate-text-bni").text(rates.bni.toLocaleString());
-        $("#result-bank-bni").text((Math.ceil(x * 1.02 * rates.bni / 1000) * 1000 + (25000 * Math.ceil(x / 35000))).toLocaleString());
+        $("#result-bank-bni").text((Math.ceil(x * 1.04 * rates.bni / 1000) * 1000 + (25000 * Math.ceil(x / 35000))).toLocaleString());
       } else {
         $("#rate-text-bni").text('x');
         $("#result-bank-bni").text('x');