cvss3.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:cvss 作者: skontar 项目源码 文件源码
def round_up(value):
    """
    Round up is defined as the smallest number, specified to one decimal place, that is equal to
    or higher than its input. For example, Round up (4.02) is 4.1; and Round up (4.00) is 4.0.
    """
    return value.quantize(D('0.1'), rounding=ROUND_CEILING)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号