ParseableBigDecimal

com.phasmidsoftware.tableparser.core.parse.Parseable.ParseableBigDecimal
See theParseableBigDecimal companion trait

Attributes

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

Members list

Value members

Inherited methods

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

Parses a string into a BigDecimal with optional modification logic. If parsing fails, it attempts to recover and provides a meaningful error message, wrapped in a Failure.

Parses a string into a BigDecimal with optional modification logic. If parsing fails, it attempts to recover and provides a meaningful error message, wrapped in a Failure.

Value parameters

optModifier

an optional modifier that may influence the parsing logic.

s

the string to parse.

Attributes

Returns

a Try containing the parsed BigDecimal if successful, or a Failure with an error message wrapped in an exception.

Inherited from:
ParseableBigDecimal