local a,b = math.modf(7/3) print(a,b)
local a,b = math.modf(7/3) print(a,b)
上一篇:lua continue
下一篇:lua随机数
java使用lua快速入门
lua不追求高大上的写法,简单方便即为真理
Python数字并不是一个真正的对象模型,而是一组类似模型的分类。Python不仅可以支持通常的数据类型,整数(int)和浮点数(float),而且能够通过常量去直接创造数字以及处理数字的表达式。此外,Python为更高级的工作提供了很多高级数字编程支持的对象。Python数字模型的完整工具包括:整数、浮点数、复数、固定精度的十进制数、有理分数、集合、布尔类型、无穷的整数精度和各种数字内
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M