diff --git a/Src/Newtonsoft.Json.Tests/JsonConvertTest.cs b/Src/Newtonsoft.Json.Tests/JsonConvertTest.cs index 0a9925b71..b274bc5cd 100644 --- a/Src/Newtonsoft.Json.Tests/JsonConvertTest.cs +++ b/Src/Newtonsoft.Json.Tests/JsonConvertTest.cs @@ -1592,7 +1592,7 @@ public void CustomDoubleRounding() [Test] public void DoubleRoundTrip() { - var x = 0.1 + 0.2; + double x = 0.1 + 0.2; var y = JsonConvert.DeserializeObject(JsonConvert.SerializeObject(x)); Assert.AreEqual(x, y); }