Toggle navigation
ecasglez's FortranUtilities
General documentation
Contents
Source Files
Modules
Procedures
Source Files
Modules
Procedures
include_zfill.f90
Source File
MIT
5 statements
Source File
include_zfill.f90
Contents
Source Code
include_zfill.f90
Contents
Source Code
include_zfill.f90
Source Code
IF
(
LEN
(
str
)
>=
l
)
THEN
res
=
str
ELSE
res
=
REPEAT
(
'0'
,
l
-
LEN
(
str
))
//
str
END IF