Overview
Comment: | 好 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1903a27f174e6ef1017a056fa1fba459 |
User & Date: | 顽雨沉风 on 2024-02-12 14:33:26 |
Other Links: | manifest | tags |
Context
2024-02-12
| ||
14:41 | 好 check-in: f347cac7fe user: 顽雨沉风 tags: trunk | |
14:33 | 好 check-in: 1903a27f17 user: 顽雨沉风 tags: trunk | |
14:31 | 好 check-in: bd61a4ccbd user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/lua_lib/算机_程语_月_基类_数.lua from [2fe66b2ac0] to [ea8b0a5009].
︙ | ︙ | |||
44 45 46 47 48 49 50 | return string.format("%0" .. o2 .. "d", o1) end --~ 数 --~ 几位小数 function d.几位小数(o1, o2) return string.format("%." .. o2 .. "f", o1) end | < < < < < < < < < < < < > > > > > > > > > | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | return string.format("%0" .. o2 .. "d", o1) end --~ 数 --~ 几位小数 function d.几位小数(o1, o2) return string.format("%." .. o2 .. "f", o1) end -- 正数与负数 --~ 数 function d.正数(o1) if o1 >= 0 then return o1 else return -o1 end end --~ 数 function d.负数(o1) if o1 >= 0 then return -o1 else return o1 end end -- 递加 do local k1_0 --~ 数表 k1_0 = {} function d.递加(o1) |
︙ | ︙ |