diff --git a/indra/llcommon/llsd.cpp b/indra/llcommon/llsd.cpp
index 01ea04b09982c3055baa629bb25ff39edbeacaa4..6c844a9f40b078fde26a2605173e0d7c81189532 100644
--- a/indra/llcommon/llsd.cpp
+++ b/indra/llcommon/llsd.cpp
@@ -239,7 +239,7 @@ namespace
 	};
 
 	LLSD::String ImplInteger::asString() const
-		{ return llformat("%d", mValue); }
+		{ return absl::StrFormat("%d", mValue); }
 
 
 	class ImplReal
@@ -261,7 +261,7 @@ namespace
 		{ return !llisnan(mValue) ? (LLSD::Integer)mValue : 0; }
 		
 	LLSD::String ImplReal::asString() const
-		{ return llformat("%lg", mValue); }
+		{ return absl::StrFormat("%lg", mValue); }
 
 
 	class ImplString
diff --git a/indra/llcommon/llsdserialize.cpp b/indra/llcommon/llsdserialize.cpp
index 22b24a06b4f644078a83997d306914c9f3f4ef99..ba76ad559b78c4afd4dc8013bf9ed344db8d416a 100644
--- a/indra/llcommon/llsdserialize.cpp
+++ b/indra/llcommon/llsdserialize.cpp
@@ -1246,8 +1246,7 @@ S32 LLSDFormatter::format(const LLSD& data, std::ostream& ostr, EFormatterOption
 
 void LLSDFormatter::formatReal(LLSD::Real real, std::ostream& ostr) const
 {
-	std::string buffer = llformat(mRealFormat.c_str(), real);
-	ostr << buffer;
+	ostr << absl::StreamFormat(mRealFormat.c_str(), real);
 }
 
 /**