Modifications

Aller à : navigation, rechercher

Module:Unité

99 octets ajoutés, 2 août 2017 à 08:00
parseUnit : arrêt si l'unité ne contient pas de lettre ou de symbole connu (cf. Wikipédia:Le Bistro/26 juillet 2017#arrondis et décimales pour le modèle unité)
exp = ''
end
if Data.unit[ unit ] or mw.ustring.match( unit, '%a' ) then table.insert( result, unit ) table.insert( result, exp ) toParse = toParse:sub( match:len() + 1 ) else break end
end
until toParse == '' or not match
Utilisateur anonyme

Menu de navigation