diff --git a/src/main/java/tech/iBeans/POSware/Lite/data_test.java b/src/main/java/tech/iBeans/POSware/Lite/data_test.java index 74abbfb..266ba11 100644 --- a/src/main/java/tech/iBeans/POSware/Lite/data_test.java +++ b/src/main/java/tech/iBeans/POSware/Lite/data_test.java @@ -18,24 +18,24 @@ public class data_test { /* Fake items. */ Dictionary item_1 = new Hashtable<>(); item_1.put("Name", "No Discount"); - item_1.put("Price", (double) 234); + item_1.put("Price", (float) 234); fake_items.put("13f", item_1); Dictionary item_2 = new Hashtable<>(); item_2.put("Name", "a Discount"); - item_2.put("Price", (double) 15); + item_2.put("Price", (float) 15); item_2.put("Discount", -2); item_2.put("Tax", 3); fake_items.put("13a", item_2); Dictionary item_3 = new Hashtable<>(); item_3.put("Name", "as Discount"); - item_3.put("Price", (double) 104); + item_3.put("Price", (float) 104); item_3.put("Discount", 95); fake_items.put("13d", item_3); Dictionary item_4 = new Hashtable<>(); - item_4.put("Price", (double) 144); + item_4.put("Price", (float) 144); item_4.put("Discount", 0); fake_items.put("1d", item_4); }