Answers for "how to check if a float is negative c#"

C#
2

c# check if is float

public bool IsFloatOrInt(string value) {
  int intValue;
  float floatValue;
  return Int32.TryParse(value, out intValue) || float.TryParse(value, out floatValue);
}
Posted by: Guest on May-04-2021

Code answers related to "how to check if a float is negative c#"

C# Answers by Framework

Browse Popular Code Answers by Language