mirror of
https://github.com/mariiaan/minipp.git
synced 2026-05-14 10:11:17 +02:00
Fix float serialization
This commit is contained in:
@@ -608,7 +608,7 @@ minipp::EResult minipp::MiniPPFile::Values::FloatValue::Parse(const std::string&
|
||||
|
||||
minipp::EResult minipp::MiniPPFile::Values::FloatValue::ToString(std::string& destination) const noexcept
|
||||
{
|
||||
destination = std::to_string(m_value);
|
||||
destination = std::to_string(m_value) + "f";
|
||||
return EResult::Success;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user