Skip to content

Commit e1ff491

Browse files
authored
Add files via upload
1 parent edfc3b8 commit e1ff491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/process_order.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def process_price_with_order(menu_dict, order):
7575
return sum_up_total_line(total, none_list)
7676

7777
def sum_up_total_line(total, none_list):
78+
total = format(total, ",")
7879
line = '總共是' + str(total) + '元。'
7980
if len(none_list)>0:
8081
line+='不過,我們沒有:'

0 commit comments

Comments
 (0)