The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ResolveAsNumber


Unit:SDL_dstruct
Class:TAssocArray
Declaration:function 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).


Last Update: 2023-Feb-06