Advertisement
Guest User

Rangga Floor

a guest
Nov 11th, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public class FindFloorValueExample {
  2.  
  3. public static void main(String[] args) {
  4.  
  5. System.out.println(Math.floor(70));
  6.  
  7. System.out.println(Math.floor(30.1));
  8.  
  9. System.out.println(Math.floor(15.5));
  10.  
  11. System.out.println(Math.floor(-40));
  12.  
  13. System.out.println(Math.floor(-42.4));
  14.  
  15. System.out.println(Math.floor(0));
  16.  
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement