File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/6C30-roI2tk7r.js
import{g as f,s as x}from"./reperes-w_D-727i.js";import{E as b,aj as d,o as g,ax as a,r as s,w as u,c as h,a as C,s as Q,l as k}from"./index-ajJ0B2-K.js";import{O as m}from"./operations-l2PsuM9n.js";import"./PEA11-1-OwsvP6mg.js";const q=!0,v="AMCNum",A=!0,L="mathLive",N="Multiplying decimal numbers",O="52939",P="6C30";function R(){b.call(this),this.titre=N,this.consigne="Ask and carry out the following calculations.",this.spacing=2,this.spacingCorr=1,this.nbQuestions=4,this.sup=!1,this.sup2=3,this.listePackages="xlop",this.besoinFormulaire2Numerique=["Notebook type",3,` 1: Notebook with small squares
2: Notebook with large squares (Seyes)
3: Blank sheet`],this.nouvelleVersion=function(){this.sup2=parseInt(this.sup2),this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];const y=d([1,2,3,4],this.nbQuestions);let l;if(this.sup2<3){const e=this.sup2<3?f(0,0,5,8,"gray",.7):"",o=this.sup2===2?x(0,0,5,8):"",r={xmin:0,ymin:0,xmax:5,ymax:8,pixelsParCm:20,scale:this.sup2===2?.8:.5};l="<br>"+g(r,e,o)}else l="";let c,p;for(let e=0,o,n,r=0,t,i;e<this.nbQuestions&&r<50;){switch(c=y[e],c){case 1:t=s(2,5)*100+s(2,5)*10+s(2,5),i=a(s(2,5)*10+s(2,5)+s(2,5)/10);break;case 2:t=a(s(2,9)*10+s(2,9)+s(2,9)/10),i=a(s(6,9)+s(6,9)/10);break;case 3:t=a(s(2,9)+s(2,9)/10+s(2,9)/100),i=a(s(2,9)*100+s(2,9));break;case 4:t=a(s(2,9)/10+s(2,9)/100),i=a(s(2,9)+s(2,9)/10);break}o=`$${u(t)}\\times${u(i)}$`,o+=l,p=a(t*i),n=m({operande1:t,operande2:i,type:"multiplication",style:"display: inline"}),n+=h.isHtml?"":"\\hspace*{30mm}",n+=m({operande1:i,operande2:t,type:"multiplication",style:"display: inline"}),h.isHtml&&this.interactif&&(o+="$~=$"+C(this,e,"width15 inline")),Q(this,e,p),this.autoCorrection[e].options={digits:0,decimals:0,signe:!1,exposantNbChiffres:0,exposantSigne:!1,approx:0},this.listeQuestions.indexOf(o)===-1&&(this.listeQuestions.push(o),this.listeCorrections.push(n),e++),r++}k(this)}}export{q as amcReady,v as amcType,R as default,A as interactifReady,L as interactifType,P as ref,N as titre,O as uuid};
//# sourceMappingURL=6C30-roI2tk7r.js.map