Update dependencies and build system #2

Merged
localhorst merged 11 commits from feature/revival into master 2026-04-03 21:06:54 +02:00
27 changed files with 2699 additions and 2795 deletions
Showing only changes of commit 1866782111 - Show all commits

View File

@ -1,6 +1,7 @@
package com.jFxKasse.datatypes; package com.jFxKasse.datatypes;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList; import java.util.ArrayList;
public class Job { public class Job {
@ -97,7 +98,7 @@ public class Job {
jobvalue = jobvalue + (positionenQuantity.get(i) * positionenValue.get(i)); jobvalue = jobvalue + (positionenQuantity.get(i) * positionenValue.get(i));
} }
// Round to two decimal places // Round to two decimal places
jobvalue = BigDecimal.valueOf(jobvalue).setScale(2, BigDecimal.ROUND_HALF_UP).floatValue(); jobvalue = BigDecimal.valueOf(jobvalue).setScale(2, RoundingMode.HALF_UP).floatValue();
} }
public String createPosQuantityDBString() { public String createPosQuantityDBString() {