I'm using CR XI Prof and hit a strange issue converting a string field to a number so I could calculate an average.
The string field "Lab.Value" has one or two characters (always digits), a decimal, and another character/digit - e.g., 7.3 or 10.8. Using both ToNumber and CDbl, the result...
I'm querying an electronic health record to determine the % of patients in which blood pressure is controlled. The threshold for "control" for diabetics is a systolic BP of 130; for non-diabetics, it's 140 - so I need to classify the patient as diabetic or not before evaluating the BP value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.