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