com.phasmidsoftware.tableparser.core.parse.Parseable.ParseableFloat
See theParseableFloat companion trait
Attributes
- Companion
-
trait
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Parses a string into a Float, with optional modification, and handles potential parsing errors gracefully.
Parses a string into a Float, with optional modification, and handles potential parsing errors gracefully.
Value parameters
- optModifier
-
an optional modifier that might influence the parsing process (currently unused in this method).
- s
-
the string to be parsed, expected to represent a valid Float value.
Attributes
- Returns
-
a Try[Float] containing the parsed Float if successful, or a Failure containing the relevant exception if parsing fails.
- Inherited from:
-
ParseableFloat