Returns a string of a time value formatted to ES12.4.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | Time |
Time |
Returned string with formatted time
pure function stringtool_obj_FormatTime(time) result(val) !> Returns a string of a time value formatted to ES12.4. real(wp), intent(in) :: Time !! Time character(len=:), allocatable :: val !! Returned string with formatted time ! Work variables character(len=str64) :: tmpC write(tmpC,'(ES12.4)') time val = trim(adjustl(tmpC)) return end function stringtool_obj_FormatTime