version 0.6.0
Convert into string

Functions

character(len=16) function mod_convert_integer_to_string::convert_integer_to_string (i, length)
 Convert an integer into a character string. More...
 

Detailed Description

Function Documentation

◆ convert_integer_to_string()

character(len=16) function mod_convert_integer_to_string::convert_integer_to_string ( integer, intent(in)  i,
integer, intent(in), optional  length 
)

i is the integer to convert into the character string str

  • by default i < 1000 and is converted into 3 characters (completed by 0 if necessary)
  • if length is given, str length is equal to l (0 < l < 16)