Back to splitting bills by 2
authorCameron Ball <cameron@moodle.com>
Fri, 6 Sep 2019 05:36:54 +0000 (13:36 +0800)
committerCameron Ball <cameron@moodle.com>
Fri, 6 Sep 2019 05:36:54 +0000 (13:36 +0800)
src/common.php

index 7cadbd4..fb00126 100644 (file)
@@ -54,7 +54,7 @@ function getTelegram(): TelegramAPI {
 }
 
 function splitBill(float $amount) : float {
-    return floor($amount/3);
+    return floor($amount/2);
 }
 
 function identity($x) {