MAJ V4.4.2 - Prise en compte lorsque la largeur des bordures est en cm
ou inches
This commit is contained in:
parent
ad3406e9bc
commit
a79c702fad
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -468,8 +468,12 @@ public class evaluation {
|
|||||||
if(TextA[0].contains("→")) {
|
if(TextA[0].contains("→")) {
|
||||||
if(TraitementIntervalle(TextB[0], TextA[0]).equals("Correct : ")) taille = true;
|
if(TraitementIntervalle(TextB[0], TextA[0]).equals("Correct : ")) taille = true;
|
||||||
}else {
|
}else {
|
||||||
double tailleA = Double.valueOf(TextA[0].replace("pt",""));
|
|
||||||
double tailleB = Double.valueOf(TextB[0].replace("pt",""));
|
TextA[0] = TextA[0].replace("pt","").replace("cm", "").replace("in", "");
|
||||||
|
TextB[0] = TextB[0].replace("pt","").replace("cm", "").replace("in", "");;
|
||||||
|
|
||||||
|
double tailleA = Double.valueOf(TextA[0]);
|
||||||
|
double tailleB = Double.valueOf(TextB[0]);
|
||||||
double IT = 0.02;
|
double IT = 0.02;
|
||||||
if((tailleA<tailleB+IT) && (tailleA>tailleB-IT))taille = true;
|
if((tailleA<tailleB+IT) && (tailleA>tailleB-IT))taille = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user