首页 > TAG信息列表 > YRS
FORTRAN字符串转数字,数字转字符串
FORTRAN 字符转数字和数字转字符 FORTRAN字符串转数字READ函数 PROGRAM MAIN INTEGER*4 NUM CHARACTER*4 YRS REAL TIM C STR2INT IN:YRS OUT:NUM YRS="2022" READ(YRS,'(I4)')NUM C STR2FLOAT IN:YRS OUT:TIM YRS=&quFORTRAN字符串转数字,数字转字符串
FORTRAN 字符转数字和数字转字符 FORTRAN字符串转数字READ函数 PROGRAM MAIN INTEGER*4 NUM CHARACTER*4 YRS REAL TIM C STR2INT IN:YRS OUT:NUM YRS="2022" READ(YRS,'(I4)')NUM C STR2FLOAT IN:YRS OUT:TIM YRS=&qu