Double to string conversion different for .NET Framework and .NET Core
stackoverflow.com