Checks if type is a decimal type.
Namespace: MonoSoftware.CoreAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public static bool IsDecimalNumberType(
this Type type
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function IsDecimalNumberType (
type As Type
) As Boolean |
Visual C++ |
---|
public:
[ExtensionAttribute]
static bool IsDecimalNumberType(
Type^ type
) |
F# |
---|
static member IsDecimalNumberType :
type : Type -> bool
|
Return Value
Type:
BooleanTrue if type is a decimal type, False otherwise
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. 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