Would the value be rounded up if I stored it as an int variable? I still require some decimals. I tried storing the value as an int variable by casting it into an int first, but now the variable cannot be cast into a float still. I’m only less than a week old to Java, so I might be missing something obvious, however I couldn’t find anything on Integer to Float errors for Java on google.