logic/helpers/helpers library

Functions

parseStringToDouble(String? value) double
Parses a string value to a double, returning 0.0 if the parsing fails. TODO: move to t_helpers
parseStringToInt(String? value) int
Parses a string value to an integer, returning 0 if the parsing fails. TODO: move to t_helpers
tryParseStringToDouble(String? value) double?
Parses a string to a double.
tryParseStringToInt(String? value) int?