public int diff_slFormat()
    {
        int size = Paid_SoLuongSP.size();
        double dnum = 0.0;
        double dnum1 = 0.0;
        int    return_val = 0;
        int    inum;
        int    diff;
        for(int i = 0; i < size ; i++)
        {
            dnum    = Paid_SoLuongSP.get(i);
            inum    = Paid_SoLuongSP.get(i).intValue();
            dnum1   = Double.parseDouble(slFormat1.format(Paid_SoLuongSP.get(i)));
            if(dnum == inum ){
                diff = 0;
            }else if(dnum == dnum1){
                diff = 1;
            }else{
                diff = 2;
            }
            if(diff > return_val){
                return_val = diff;
                if(return_val == 2){
                    break;
                }
            }
        }
        return return_val;
    }