New functions to convert activn ratios to doubles