Skip to content
Snippets Groups Projects
Commit 901b19c7 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

WIP: Find regression.

parent c3ba30cc
No related branches found
No related tags found
2 merge requests!66REL: prepare release 0.8.0,!62Fix large integer queries
Pipeline #24459 passed
......@@ -144,6 +144,9 @@ public class POV implements EntityFilterInterface {
unitStr = m.group(2);
this.vDouble = Double.parseDouble(vDoubleStr);
if (this.vDouble % 1 == 0) {
this.vInt = (int) Math.floor(this.vDouble);
}
} catch (final NumberFormatException e) {
this.vDouble = null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment