公告板
版本库
filestore
活动
搜索
登录
main
/
gp-server
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
板块匹配调整/G撤囊括范围调整
Administrator
2024-04-29
b42bff9b2a26ace408a92baa38e43e76a840641b
[gp-server.git]
/
test
/
test.py
1
2
3
4
5
6
7
8
if __name__ == "__main__":
num = 25070171
limit_up_price = 5.1
if limit_up_price:
money_y = round((num * float(limit_up_price)) / 1e8, 1)
money = int(200 * money_y + 280)
count = int(money_y * 10) // 10 + 3
print( money, count)