Changed earnings to float
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
b12e921efe
commit
995f01aaa0
|
@ -8,7 +8,7 @@ public class Sale {
|
|||
private int _shopID;
|
||||
private int _articleID;
|
||||
private int _sold;
|
||||
private int _earnings;
|
||||
private float _earnings;
|
||||
|
||||
|
||||
public int get_dateID() {
|
||||
|
@ -43,11 +43,11 @@ public class Sale {
|
|||
_sold = sold;
|
||||
}
|
||||
|
||||
public int get_earnings() {
|
||||
public float get_earnings() {
|
||||
return _earnings;
|
||||
}
|
||||
|
||||
public void set_earnings(int earnings) {
|
||||
public void set_earnings(float earnings) {
|
||||
_earnings = earnings;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue