Furcadia Framework For Third Party Programs
ObjectExtensionsAsDouble Method |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsDouble(System.Object,System.Double)"]
Namespace: Furcadia.Extensions
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 44
Syntax
public static double AsDouble( this Object obj, double default = -1 )
<ExtensionAttribute> Public Shared Function AsDouble ( obj As Object, Optional default As Double = -1 ) As Double Dim obj As Object Dim default As Double Dim returnValue As Double returnValue = obj.AsDouble(default)
public: [ExtensionAttribute] static double AsDouble( Object^ obj, double default = -1 )
[<ExtensionAttribute>] static member AsDouble : obj : Object * ?default : float (* Defaults: let _default = defaultArg default -1 *) -> float
Parameters
- obj
- Type: SystemObject
[Missing <param name="obj"/> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsDouble(System.Object,System.Double)"]
- default (Optional)
- Type: SystemDouble
[Missing <param name="default"/> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsDouble(System.Object,System.Double)"]
Return Value
Type: Double[Missing <returns> documentation for "M:Furcadia.Extensions.ObjectExtensions.AsDouble(System.Object,System.Double)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also