public void AsFloat_with_valid_float() { JsonValue jsonValue = JsonValue.NewString("0.1234567890"); double result = jsonValue.AsFloat(); Assert.AreEqual(0.1234567890d, result); }