From 57b33acb8933b761b3fd0145d3b6f361b8a46da6 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 4 Apr 2019 20:01:42 +1100 Subject: [PATCH] AP_Declination: generate tables with float designator --- libraries/AP_Declination/generate/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Declination/generate/generate.py b/libraries/AP_Declination/generate/generate.py index 4ae0020540..6e1d2c080f 100755 --- a/libraries/AP_Declination/generate/generate.py +++ b/libraries/AP_Declination/generate/generate.py @@ -19,7 +19,7 @@ def write_table(f,name, table): for i in range(NUM_LAT): f.write(" {") for j in range(NUM_LON): - f.write("%.5f" % table[i][j]) + f.write("%.5ff" % table[i][j]) if j != NUM_LON-1: f.write(",") f.write("}")