Update app.py
Browse files
app.py
CHANGED
@@ -224,7 +224,7 @@ def get_amount(text: str) -> float | None:
|
|
224 |
if len(rows) > 1 and "/" in rows[1]:
|
225 |
divisor = int(rows[1].replace("/", ""))
|
226 |
if divisor % 3 == 0:
|
227 |
-
number +=
|
228 |
if divisor == 0:
|
229 |
raise ValueError("divisor = 0")
|
230 |
return round(number/divisor, 2)
|
|
|
224 |
if len(rows) > 1 and "/" in rows[1]:
|
225 |
divisor = int(rows[1].replace("/", ""))
|
226 |
if divisor % 3 == 0:
|
227 |
+
number += 0.3
|
228 |
if divisor == 0:
|
229 |
raise ValueError("divisor = 0")
|
230 |
return round(number/divisor, 2)
|