View source for Module:Factorization
From Black Cat Studios
Jump to navigationJump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local function powerformat(divisor, power, productSymbol)
if power < 1 then return ''
elseif power == 1 then return divisor .. ' ' .. productSymbol .. ' '
else return divisor .. '<sup>' .. power .. '</sup> ' .. productSymbol .. ' '
end
end
local function format(numString, bold, big, serif)
if bold then
numString = '<b>'..numString..'</b>'
end
local ret = (serif or big) and '<span ' or ''
if serif then ret = ret .. 'class="texhtml" ' end
if big then ret = ret .. 'style="font-size:165%" ' end
ret = ret .. ((serif or big) and '>' or '') .. numString .. ((serif or big) and '</span>' or '')
return ret
000
1:0
Template used on this page:
Return to Module:Factorization.