<!-- Beginvar i=0;function reponse(form){for(var i=0;i<form.length;i++){if(form[i].checked){break}}var repondu=""if(i<form.length){repondu=form[i].value}return repondu;}function affiche(form,i){var auteur="Arnaud Saint-Martin de www.homeomath.com";var total=form.total.value;var effectif=form.effectif.value;var p=form.p.value;var choix=reponse(form.choix);if(choix==1){total=eval(100*effectif/p);total=arrondi(total,1000);};if(choix==2){effectif=eval(p*total/100);effectif=arrondi(effectif,1000);};if(choix==3){p=eval(100*effectif/total);p=arrondi(p,1000);};document.formulaire.total.value=total;document.formulaire.effectif.value=effectif;document.formulaire.p.value=p;}function arrondi(x,choix){var retour=eval(x*choix);var tronc=Math.round(retour);tronc=eval(tronc/choix);return tronc;}
