 So I wanted to take a second to show you guys something. So I wrote that Deleted a few points from our last exercise and I wanted to look at that mathematical equation again the my number 13 and the my other number, which is my number times 2 What happens when I do division? What's gonna happen? Take a second pause the video Actually type this stuff out and see what happens Okay, so you hopefully have taken some time to pause it, but I want to take a look at this So I've compiled my code when I run this Again six now if you've been playing the home game for a second 13 divided by 2 is 6.5 Not 6. So what happened to that missing number? Well again if we think about what happens with an integer an integer is a whole number Whole number meaning that I don't get a decimal place So what actually happened to that point five? It was actually truncated. It was removed completely So how do I solve this there are a number of different ways one of them is that instead of using an integer I Could change these to something called a double and then if I compile it I get my 6.5 That's actually one of the few ways you have to make sure that it is in fact a decimal place So what happens if say for example? We comment out those two codes And I'm gonna just take this Copy and paste it and then hide one I'm doing something called commenting out code so that I don't have to start a new program just to demonstrate things for you The reason why I mentioned this is what happens if I did 13 divided by 2 inside here Well, obviously, I'll I won't actually tell you take a video take a pause do this and there we are So I pause it. I Compile it I run it. I get a six again. So how do I just by doing this? How do I get that 6.5? Right now both of these are being interpreted as integer Literals a big word there But all I'm saying is that because they're only used once they have to be interpreted some way by Java right now They're being interpreted as a literal integer So what happens is instead I change one of these instead of it being a whole number I Give it a decimal place. I only have to give one a decimal place Luckily because Java's smart enough that it will see that if one of them is a decimal Make the entire equation a decimal