System.Web.Configuration.HttpCapabilitiesBase.ReadDouble C# (CSharp) Method

ReadDouble() private method

private ReadDouble ( string key ) : double
key string
return double
		double ReadDouble (string key)
		{
			string v = this [key];
			if (v == null) {
				throw CreateCapabilityNotFoundException (key);
			}

			try {
				return Double.Parse (v);
			} catch {
				throw CreateCapabilityNotFoundException (key);
			}
		}