Created
July 24, 2018 10:51
-
-
Save viniru/71ac6b486bf29e6dce6bfdfe153a58d9 to your computer and use it in GitHub Desktop.
important points
This file contains 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
1) In java : When you are using Math.ceil or Math.floor(a/b) , a/b will not be a float number if a or b are integers . so , dont forget to | |
type cast to floor , either of the integers a or b before dividing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment