daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. double ergebnis = (Personen1*Preise*(1-Prozent/100));
  2. DecimalFormat f = new DecimalFormat("#0.00");
  3.        
  4. System.out.println("Der Gesamtpreis beläuft sich auf: " + f.format(ergebnis) + " Euro");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top