Skip to content

Commit

Permalink
Fix degree symbol in dd2dms and UTF-8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
khaled-alshamaa authored Feb 9, 2021
1 parent 59517f8 commit a438f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ICARDA_VBA_Toolkit.bas
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Public Function DD2DMS(decStr As String) As Variant
Seconds = Round((((decStr - Degrees) * 60) - Minutes) * 60, 4)

outStr = ""
If (Degrees > 0) Then outStr = Degrees & "°"
If (Degrees > 0) Then outStr = Degrees & Chr(176)

If (Minutes >= 10) Then
outStr = outStr & Minutes & "'"
Expand Down

0 comments on commit a438f17

Please sign in to comment.