ResolveAsNumber

Declaration:TAssocArray.ResolveAsNumber (Key: string): double;
The function ResolveAsNumber tries to find the entry corresponding to the key Key and returns the associated value as a number of type double. If Key does not exist (or, if Key does not match because IgnoreCase is set to false), the function returns a zero value. Strings are automatically converted to numbers (if possible).