WSJT-X/lib/grid2n.f90
Joe Taylor 3b0b8b0652 Implement signal reports in the range -31 to -50 dB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2688 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2012-10-25 13:01:37 +00:00

11 lines
181 B
Fortran

subroutine grid2n(grid,n)
character*4 grid
i1=ichar(grid(1:1))-ichar('A')
i2=ichar(grid(3:3))-ichar('0')
i=10*i1 + i2
n=-i - 31
return
end subroutine grid2n