<FLOOR Example Program>

Program floor_example
  Call test( [ 10.49,10.50,10.51 ] )
Contains
  Subroutine test(a)
    Real,Intent(In) :: a(:)
    Print 1,a,Floor(a)
 1  Format(3F8.2,/,3I8)
    Print 1,-a,Floor(-a)
  End Subroutine
End Program

■ Execution Results

   10.49   10.50   10.51
      10      10      10
  -10.49  -10.50  -10.51
     -11     -11     -11