ParseableFloat

com.phasmidsoftware.tableparser.core.parse.Parseable.ParseableFloat
See theParseableFloat companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Parseable[Float]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def parse(s: String, optModifier: Option[String]): Try[Float]

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