This commit is contained in:
inorichi 2016-02-23 17:32:47 +01:00
parent 4876eaafcc
commit 4ba0f343e3

View file

@ -153,7 +153,7 @@ public class ChapterRecognition {
Matcher m = uncleanNumber.matcher(text);
if (m.find()) {
try {
Float value = Float.parseFloat(m.group(1));
Float value = Float.parseFloat(m.group(1).replaceAll(",", "."));
if (!occurences.contains(value)) {
occurences.add(value);
}