StringUtils.IsFloat method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings
Assembly Skybrud.Essentials.dll

IsFloat(string)

Static

Gets whether the string matches an integer (Single ).

public static bool IsFloat(string str)

Parameters

str String

The string to validate.

Returns

true if str matches a long; otherwise false.