diff options
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r-- | src/StringUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h index a74239ec8..1c6cdf509 100644 --- a/src/StringUtils.h +++ b/src/StringUtils.h @@ -146,6 +146,9 @@ extern AStringVector MergeStringVectors(const AStringVector & a_Strings1, const /** Concatenates the specified strings into a single string, separated by the specified separator. */ extern AString StringsConcat(const AStringVector & a_Strings, char a_Separator); +/** Converts a string into a float. Returns false if the conversion fails. */ +extern bool StringToFloat(const AString & a_String, float & a_Num); + |