Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BF2Statistics
Validator
IsFloat
BF2Statistics.Validator.IsFloat C# (CSharp) Method
Validator Class Documentation
Show file
Open project: BF2Statistics/ControlCenter
IsFloat()
public
static
method
Determines if the given string can be converted to a float
public
static
IsFloat
(
string
line
) :
bool
line
string
The string to be checked
return
bool
public static bool IsFloat(string line) { return Regex.IsMatch(line, @"^[0-9]*(?:\.[0-9]*)?$"); }
Validator
IsAlphaOnly
IsFloat
IsNumeric
IsValidClanTag
IsValidEmail
IsValidPID
IsValidPrefix