the actual value of this ValueObject
Static
createa Result
with the created FloatString
to create the FloatString of
Optional
options: FloatStringOptionsconstraints the value has to fulfill
Static
froma Result
with an array of created FloatStrings
an array of primitives to map to an array of FloatStrings
Optional
options: FloatStringOptions & ListCreationOptionsconstraints the values / list has to fulfill
Static
listcompares 2 Lists of ValueObjects / values on equality
true if the lists are equal
the list of ValueObjects to compare with
a list of ValueObjects / values for comparison
Static
tothe array of values
an array of FloatStrings to map to an array of their values
Static
validatethe value if the validation was successful
if the value is not a parsable number
if the value is not inside the interval
to be validated as a float with the corresponding constraints (options)
Optional
options: FloatStringOptionsconstraints the value has to fulfill
Generated using TypeDoc
A floating point number that can also be created from a string representation of a floating point number
Example
Fails