diff options
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/netmaker/netproduce.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/netmaker/netproduce.cxx b/codemaker/source/netmaker/netproduce.cxx index ab3495b9e641..b11569c2130b 100644 --- a/codemaker/source/netmaker/netproduce.cxx +++ b/codemaker/source/netmaker/netproduce.cxx @@ -881,7 +881,7 @@ void NetProducer::produceConstantGroup(std::string_view name, break; case unoidl::ConstantValue::TYPE_FLOAT: type = "float"_ostr; - value = OString::number(member.value.floatValue); + value = OString::number(member.value.floatValue) + "f"; break; case unoidl::ConstantValue::TYPE_DOUBLE: type = "double"_ostr; |