Modul:AstroOgier/StrTest
Udseende
local p = {} --p stands for package
function p.hello( frame )
local Decimals = 2
d = 5; m = 11; y = 2024.789
local str = string.format("%02d/%02d/%." .. Decimals .. "f",d,m,y)
-- local str = "%02d<sup>h</sup> %02d<sup>m</sup> %." .. Decimals .."f<sup>s</sup>"
-- local str = "Hello World! °’” " -- + utf8.char(0x00B0) + utf8.char(0x2032) + utf8.char(0x2033)
return str
end
return p