changes 融资性担保放大倍数参数问题

This commit is contained in:
P3ngSaM 2023-01-04 09:37:42 +08:00
parent a6c700905f
commit 0e96001ec5
1 changed files with 2 additions and 2 deletions

View File

@ -7,14 +7,14 @@ router = APIRouter()
class Params(BaseModel):
年末融资性担保责任余额: float
融资性担保责任余额: float
净资产: float
@router.post("/{}".format(INDEX))
def func(p: Params):
try:
result = p.年末融资性担保责任余额 / p.净资产
result = p.融资性担保责任余额 / p.净资产
return round(result, 6)
except ZeroDivisionError: