Skip to content

Instantly share code, notes, and snippets.

@viniru
Created July 24, 2018 10:51
Show Gist options
  • Save viniru/71ac6b486bf29e6dce6bfdfe153a58d9 to your computer and use it in GitHub Desktop.
Save viniru/71ac6b486bf29e6dce6bfdfe153a58d9 to your computer and use it in GitHub Desktop.
important points
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