{JAVA} Need help getting percent of a number : Basically in this website you can get credits and buy stuff with them. If you keep the credits in your bank, you get 0.12% added daily.
[Picture to understand this.][1]
I wanted to code a quick program to calculate this but I need help, here's my code.

    import java.util.Scanner;
    
    public class project {
    	public static void main(String[] args){
    		Scanner input = new Scanner(System.in);
    		
    		System.out.println("-------------------------");
    		System.out.println("| NextGenUpdate Credits |");
    		System.out.println("-------------------------");
    		System.out.println("Credits: ");
    			double credits = input.nextDouble();
    		System.out.println("Days: ");
    			int days = input.nextInt();
    			
    			int total = //DON'T KNOW WHAT TO PUT HERE
    			
    		System.out.println("You will have have " + total + " credits in " + days + " days.");	
    		
    	}
    }

  [1]: http://i.stack.imgur.com/0NFEJ.png
