How to change BMR Calculator output to round up number?
<p>My home work is: Need to calculate how many bars of choco to maintain woman &amp; man's BMR. I want to change the final output without so many decimal points but round it up or better suggestion. I also understand that there are formats for strings, substring, characters etc. Just don't know how to use them correctly. Not asking for answers, just guidance or show me examples will be helpful. Thank you.</p>

<pre><code>import java.util.Scanner; 

public class BMR 
{ 
    public static void main(String[] args) 
    { 
        int age; 
        double weight, height, BMRw, BMRm; 

        System.out.println("Enter weight in lbs:"); 
        Scanner kb = new Scanner(System.in); 
        weight = kb.nextDouble(); 

        System.out.println("Enter height in inches:"); 
        height = kb.nextDouble(); 

        System.out.println("Enter age in years:");  
        age = kb.nextInt(); 

        BMRw = 655 + (4.3 * weight) + (4.7 * height) - (4.7 * age); 
        BMRm = 66 + (6.3 * weight) + (12.9 * height) - (6.8 * age); 

        System.out.println("BMR for woman is: " + BMRw); 
        System.out.println("BMR for man is: " + BMRm);  

        System.out.println("A typical Chocolate Bar contains about 230 calories");  

        System.out.println("No. of Chocolate Bars consumed to maintain your weight: "); 
        int choco = 230; 

        System.out.println(BMRw / choco); 
        System.out.println(BMRm / choco);   
   } 
} 
</code></pre>

<p><strong>Out put</strong> is: 
    Enter weight in lbs: 
    118 
    Enter height in inches: 
    5.5 
    Enter age in years: 
    33 
    BMR for woman is: 1033.15 
    BMR for man is: 655.95 
    A typical Chocolate Bar contains about 230 calories 
    No. of Chocolate Bars consumed to maintain your weight: 
     <strong>4.491956521739131</strong> 
     <strong>2.8519565217391305</strong> </p>
