Created
June 17, 2015 13:35
-
-
Save fatorx/1826e9acedf4ec269e4b to your computer and use it in GitHub Desktop.
Java Math - Return point float number between two integers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int seconds = 88200; | |
int secHour = 3600; | |
float val = ( (float) seconds / (float) secHour); | |
System.out.println( val ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment