diff --git a/package/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua b/package/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua index 61d7e7a1..a11c8f76 100644 --- a/package/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua +++ b/package/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua @@ -57,13 +57,13 @@ o.default = uci:get_first("gluon-node-info", "location", "share_location", o.dis o.rmempty = false o = s:option(Value, "_latitude", "Breitengrad") -o.default = string.format("%f", uci:get_first("gluon-node-info", "location", "latitude", "0")) +o.default = uci:get_first("gluon-node-info", "location", "latitude", 0) o.rmempty = false o.datatype = "float" o.description = "z.B. 53.873621" o = s:option(Value, "_longitude", "Längengrad") -o.default = string.format("%f", uci:get_first("gluon-node-info", "location", "longitude", "0")) +o.default = uci:get_first("gluon-node-info", "location", "longitude", 0) o.rmempty = false o.datatype = "float" o.description = "z.B. 10.689901"