Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 3581

Show
Ignore:
Timestamp:
03/10/08 18:54:43 (10 months ago)
Author:
tmdugan
Message:

-- chica

* made a minor change to make sure bmi is returned as a double

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/chica/ruleLibrary/bmi.java

    r3515 r3581  
    316316                                Double bmi = ( weightNum /  
    317317                                                (heightNum * heightNum) ) * 703; 
    318                                 return new Result(((int)(bmi*100))/100); 
     318                                return new Result(((int)(bmi*100))/100.0); 
    319319                        } 
    320320                }