We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
i was curious if you knew why the parantheseis had to be around the second int in
int totalRoundCost = (int) Math.round(totalCost);
just want to understand it thanks i couldn't get the round until i looked here
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
i was curious if you knew why the parantheseis had to be around the second int in int totalRoundCost = (int) Math.round(totalCost); just want to understand it thanks i couldn't get the round until i looked here