因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
local p = {}
local digits = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
local function normalizeFullWidthChars(s)
return mw.ustring.gsub(s, '[!-~]', function(s)
return mw.ustring.char(mw.ustring.codepoint(s, 1) - 0xFEE0)
end)
end
local function _convert(n, base, from, precision, width, default, prefix, suffix)
n = tostring(n)
-- strip off any leading '0x' (unless x is a valid digit in the input base)
from = tonumber(from)
if not from or from < 34 then
local c
n, c = n:gsub('^(-?)0[Xx]', '%1')
if c > 0 and not from then from = 16 end
end
000
1:0
本页使用的模板:
- 模板:!!(查看源代码)
- 模板:!-(查看源代码)
- 模板:Aligned table(查看源代码)
- 模板:C(查看源代码)
- 模板:Category link(查看源代码)
- 模板:Ceil(查看源代码)
- 模板:Floor(查看源代码)
- 模板:Font(查看源代码)
- 模板:For loop(查看源代码)
- 模板:Format item(查看源代码)
- 模板:Fraction(查看源代码)
- 模板:Fraction(查看源代码)
- 模板:Fraction/styles.css(查看源代码)
- 模板:High-use(查看源代码)
- 模板:Hlist/styles.css(查看源代码)
- 模板:Icon(查看源代码)
- 模板:Item(查看源代码)
- 模板:Large(查看源代码)
- 模板:Main other(查看源代码)
- 模板:Markup(查看源代码)
- 模板:Markup/row(查看源代码)
- 模板:Math(查看源代码)
- 模板:Math templates(查看源代码)
- 模板:Module link(查看源代码)
- 模板:Module link(查看源代码)
- 模板:Navbox(查看源代码)
- 模板:Navbox with collapsible groups(查看源代码)
- 模板:Navbox with columns(查看源代码)
- 模板:Noitalic(查看源代码)
- 模板:Noitalic/styles.css(查看源代码)
- 模板:Para(查看源代码)
- 模板:Pars(查看源代码)
- 模板:Sfrac(查看源代码)
- 模板:Sfrac/styles.css(查看源代码)
- 模板:Str endswith(查看源代码)
- 模板:T/piece(查看源代码)
- 模板:Template link bare(查看源代码)
- 模板:Tl(查看源代码)
- 模板:Template link bare(查看源代码)
- 模板:Tlx(查看源代码)
- 模板:Yesno(查看源代码)
- 模块:Aligned table(查看源代码)
- 模块:Arguments(查看源代码)
- 模块:BaseConvert(查看源代码)
- 模块:BaseConvert/doc(查看源代码)
- 模块:Check for unknown parameters(查看源代码)
- 模块:For loop(查看源代码)
- 模块:High-use(查看源代码)
- 模块:Item(查看源代码)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Message box/ombox.css(查看源代码)
- 模块:Navbar(查看源代码)
- 模块:Navbar/configuration(查看源代码)
- 模块:Navbar/styles.css(查看源代码)
- 模块:Navbox(查看源代码)
- 模块:Navbox/configuration(查看源代码)
- 模块:Navbox/styles.css(查看源代码)
- 模块:Navbox with collapsible groups(查看源代码)
- 模块:Separated entries(查看源代码)
- 模块:String(查看源代码)
- 模块:TableTools(查看源代码)
- 模块:Transclusion count(查看源代码)
- 模块:Transclusion count/data/B(查看源代码)
- 模块:Unsubst(查看源代码)
- 模块:Yesno(查看源代码)