mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-08 16:26:42 -04:00
parent
f1a8a74b95
commit
f48e99c710
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ String Convert::ToString(double val)
|
|||
double fractional = std::modf(val, &integral);
|
||||
|
||||
if (fractional == 0)
|
||||
return Convert::ToString(static_cast<long>(val));
|
||||
return Convert::ToString(static_cast<long long>(val));
|
||||
|
||||
std::ostringstream msgbuf;
|
||||
msgbuf << std::fixed << val;
|
||||
|
|
|
|||
Loading…
Reference in a new issue