math floor and math ceil in java