0

Can you guys explain private double fuelCapacity; please? why we are using double?

25th Nov 2016, 10:00 PM
Aminur Rahman
Aminur Rahman - avatar
1 Réponse
+ 1
If you don't have exactly 50l of fuelCapacoty but 50.3l you need to declare it "double". Also maybe for comparison later with othwr fuelValues
25th Nov 2016, 10:07 PM
Toby Meßner (Trineo)
Toby Meßner (Trineo) - avatar