Re: How to convert integers to characters?



! Fortran 90 code begins
program ex
implicit none
real::a=123.4
character(len=10)::b
write(b,*)a
write(*,"(A8,1X,I3)")b, len_trim(b)
end
! Fortran 90 code ends

Maybe you should write in this way:
write(*,"(A8,1X,I3)") b, trim(adjustl(b))

Best regards,
Zbigniew




.