Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 5112

Show
Ignore:
Timestamp:
07/31/08 17:26:56 (4 months ago)
Author:
tmdugan
Message:

-- dss

* added check to prevent a null pointer exception

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/dss/src/org/openmrs/module/dss/util/Util.java

    r4765 r5112  
    303303        public static Double round(Double value,int decimalPlaces) 
    304304        { 
    305                 if(decimalPlaces<0
     305                if(decimalPlaces<0||value == null
    306306                { 
    307307                        return value;