Decimal

cooolr 于 2021-11-14 发布
from bson import Decimal128 as Decimal

member['total_money'] = Decimal(str(member_money.get('total_money', 0)))