Jean-Francois Leveque

Sortie en locale French

...@@ -95,11 +95,11 @@ public class PostprocessingExpert { ...@@ -95,11 +95,11 @@ public class PostprocessingExpert {
95 logger.trace("Nombre d'objets recommandés {}", recommendedItemCount); 95 logger.trace("Nombre d'objets recommandés {}", recommendedItemCount);
96 logger.trace("Nombre d'objets recommandables {}", recommendableItemCount); 96 logger.trace("Nombre d'objets recommandables {}", recommendableItemCount);
97 c1 = (float) recommendedItemCount / recommendableItemCount; 97 c1 = (float) recommendedItemCount / recommendableItemCount;
98 - logger.trace("c1 {}", String.format("%.3f", c1)); 98 + logger.trace("c1 {}", String.format(Locale.FRENCH, "%.3f", c1));
99 logger.trace("Nombre de couples item-user recommandés {}", recommendedItemUserCount); 99 logger.trace("Nombre de couples item-user recommandés {}", recommendedItemUserCount);
100 logger.trace("Nombre de couples item-user recommandables {}", recommendableItemUserCount); 100 logger.trace("Nombre de couples item-user recommandables {}", recommendableItemUserCount);
101 c2 = (float) recommendedItemUserCount / recommendableItemUserCount; 101 c2 = (float) recommendedItemUserCount / recommendableItemUserCount;
102 - logger.trace("c2 {}", String.format("%.3f", c2)); 102 + logger.trace("c2 {}", String.format(Locale.FRENCH, "%.3f", c2));
103 c3 = recommendedItemCount; 103 c3 = recommendedItemCount;
104 logger.trace("c3 {}", c3); 104 logger.trace("c3 {}", c3);
105 105
......