Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class FindFloorValueExample {
- public static void main(String[] args) {
- System.out.println(Math.floor(70));
- System.out.println(Math.floor(30.1));
- System.out.println(Math.floor(15.5));
- System.out.println(Math.floor(-40));
- System.out.println(Math.floor(-42.4));
- System.out.println(Math.floor(0));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement