Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,8 +223,9 @@ for word in textnum.split():
|
|
| 223 |
lastscale = True
|
| 224 |
elif word in units:
|
| 225 |
lastunit = True
|
| 226 |
-
|
| 227 |
-
|
|
|
|
| 228 |
|
| 229 |
return curstring
|
| 230 |
|
|
|
|
| 223 |
lastscale = True
|
| 224 |
elif word in units:
|
| 225 |
lastunit = True
|
| 226 |
+
|
| 227 |
+
if onnumber:
|
| 228 |
+
curstring += repr(result + current)
|
| 229 |
|
| 230 |
return curstring
|
| 231 |
|