Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. Module:Mop — Wikipédia
Module:Mop — Wikipédia 👆 Click Here! Read More..
Une page de Wikipédia, l'encyclopédie libre.

 Documentation[voir] [modifier] [historique] [purger]

Ce module est un module de mise au point (Mop signifiant mise au point). Ce module est rattaché à la page Utilisatrice:Lydie Noria/Bac à sable. Les fonctions présentes dans ce module, ne sont là que pour des besoins d'expérimentation et peuvent disparaître inopinément.

    • Projet Scribunto Projet Scribunto

La documentation de ce module est générée par le modèle {{Documentation module}}.
Elle est incluse depuis sa sous-page de documentation. Veuillez placer les catégories sur cette page-là.
Les éditeurs peuvent travailler dans le bac à sable (créer).
Voir les statistiques d'appel depuis le wikicode sur l'outil wstat et les appels depuis d'autres modules.

local p = {}

function factorielle(n)
    if n == 0 then
        return 1 -- on renvoie la valeur 1 quand le paramètre vaut 0
    else
        return n * factorielle(n - 1)
    end
end

function p.factorielle(frame)
	return factorielle(frame.args[1])
end

function ent(x)
	local y
	y = math.modf(x)
	return y
end

function p.ent(frame)
	return ent( frame.args[1] )
end

function frac(x)
	local y
	y = math.modf(x)
	y = x - y
	return y
end

function p.frac(frame)
	return frac( frame.args[1] )
end

function p.confirme(frame)
	return frame.args[1]
end

function p.mtable()
	local reponse = " "
	local t = {1,2,3,4,5,6}
	local mt = {}
	setmetatable(t,mt)
	for i = 1,6 do
		mt[i] = t[i] + 10
		reponse = reponse.."<br />a la clé "..i..", on trouve : "..mt[i]
	end
	return reponse
end

return p
Ce document provient de « https://fr.teknopedia.teknokrat.ac.id/w/index.php?title=Module:Mop&oldid=106176712 ».
Catégorie :
  • Module en langage Lua

  • indonesia
  • Polski
  • الرية
  • Deutsch
  • English
  • Español
  • Français
  • Italiano
  • مصر
  • Nederlands
  • 本語
  • Português
  • Sinugboanong Binisaya
  • Svenska
  • Українска
  • Tiếng Việt
  • Winaray
  • 中文
  • Русски
Sunting pranala
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022
Email: pmb@teknokrat.ac.id