Changeset 1342 for palm/trunk/SOURCE/time_to_string.f90
- Timestamp:
- Mar 26, 2014 5:04:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_to_string.f90
r1321 r1342 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! REAL constants defined as wp-kind 23 23 ! 24 24 ! Former revisions: … … 61 61 ! 62 62 !-- Calculate the number of hours, minutes, and seconds 63 hours = INT( time / 3600.0 )64 rest_time = time - hours * 3600 65 minutes = INT( rest_time / 60.0 )63 hours = INT( time / 3600.0_wp ) 64 rest_time = time - hours * 3600_wp 65 minutes = INT( rest_time / 60.0_wp ) 66 66 seconds = rest_time - minutes * 60 67 67
Note: See TracChangeset
for help on using the changeset viewer.