projects
/
SonOfLokstallBot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebea4a
)
Back to splitting bills by 2
author
Cameron Ball
<cameron@moodle.com>
Fri, 6 Sep 2019 05:36:54 +0000
(13:36 +0800)
committer
Cameron Ball
<cameron@moodle.com>
Fri, 6 Sep 2019 05:36:54 +0000
(13:36 +0800)
src/common.php
patch
|
blob
|
history
diff --git
a/src/common.php
b/src/common.php
index
7cadbd4
..
fb00126
100644
(file)
--- a/
src/common.php
+++ b/
src/common.php
@@
-54,7
+54,7
@@
function getTelegram(): TelegramAPI {
}
function splitBill(float $amount) : float {
- return floor($amount/
3
);
+ return floor($amount/
2
);
}
function identity($x) {