projects
/
SonOfLokstallBot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
997c563
)
split bill by 3 for Megan
author
Cameron Ball
<cameron@cameron1729.xyz>
Sun, 16 Jun 2019 07:11:40 +0000
(15:11 +0800)
committer
Cameron Ball
<cameron@cameron1729.xyz>
Sun, 16 Jun 2019 07:11:40 +0000
(15:11 +0800)
src/common.php
patch
|
blob
|
history
diff --git
a/src/common.php
b/src/common.php
index
fb00126
..
7cadbd4
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/
2
);
+ return floor($amount/
3
);
}
function identity($x) {