切换搜索
搜索
切换菜单
notifications
切换个人菜单
模块:BaseConvert/doc:修订历史
帮助
来自决策链云智库
更多操作
查看该页面的日志
(
查看滥用日志
)
筛选修订版本
展开
折叠
截止日期:
标签
过滤器:
wikieditor(隐藏的标签)
可视化编辑
可视化编辑:已切换
已更改重定向目标
已被回退
手工回退
撤销
新重定向
替换
清空
移除重定向
显示版本
差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:
(当前)
=与最后版本之间的差异,
(之前)
=与上一版本之间的差异,
小
=小编辑。
2024年1月17日 (星期三)
当前
之前
01:22
2024年1月17日 (三) 01:22
Zeroclanzhang
讨论
贡献
2,531字节
+2,531
创建页面,内容为“{{High-use}} Converts numbers to a specified base between 2 and 36, for use in templates such as {{Tl|Binary}}, {{Tl|Octal}}, {{Tl|Hexadecimal}}, etc. ==Usage== <syntaxhighlight lang="lua"> local BaseConvert = require('Module:BaseConvert') BaseConvert.convert({n = 14600926, base = 16}) -- returns 'DECADE' </syntaxhighlight> Arguments: *'''n''' - (required) the number to be converted, as a string. It may be a number instead, if the input base is 10. *'''base'…”