AP_Declination: generate tables with float designator

This commit is contained in:
Peter Barker 2019-04-04 20:01:42 +11:00 committed by Tom Pittenger
parent 8425a58585
commit 57b33acb89
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def write_table(f,name, table):
for i in range(NUM_LAT): for i in range(NUM_LAT):
f.write(" {") f.write(" {")
for j in range(NUM_LON): for j in range(NUM_LON):
f.write("%.5f" % table[i][j]) f.write("%.5ff" % table[i][j])
if j != NUM_LON-1: if j != NUM_LON-1:
f.write(",") f.write(",")
f.write("}") f.write("}")