Moved some min/max static inline's and string to numeric type conversions to a common host code area.