Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NumberUtils.CanConvertToNumber Method

Determines whether the supplied number can be converted to a number.

[Visual Basic]
Public Shared Sub CanConvertToNumber( _
   ByVal number As Object _
)
[C#]
public static bool CanConvertToNumber(
   object number
);

Parameters

number
The object to check.

Return Value

true if the specified object is decimal number; otherwise, false.

See Also

NumberUtils Class | Spring.Util Namespace