文档介绍:×÷Õߣºnetkey
ÈÕÆÚ£º2001-6-2 17:07:33
int cInt(float stsid){
int cInt = 0;
try{
int stsid1 = 0;
if(stsid > 0){
if((stsid - (int)stsid > 0) && (stsid - (int)stsid != ))
stsid1 = (int)(stsid + );
if(stsid - (int)stsid == ){
if(((int)(stsid-))%2 == 0)
stsid1 = (int)(stsid - );
else
stsid1 = (int)(stsid + );
}
if(stsid - (int)stsid ==0)
stsid1 = (int)stsid;
}else{
stsid = -stsid;
if((stsid - (int)stsid > 0) && (stsid - (int)stsid != ))
stsid1 = - (int)(stsid + );
if(stsid - (int)stsid == ){
if(((int)(stsid-))%2 == 0)
stsid1 = - (int)(stsid - );
else
stsid1 = - (int)(stsid + );
}
if(stsid - (int)stsid ==0)
stsid1 = - (int)stsid;
}
cInt = stsid1;
}catch(Exception e){}
return cInt;
}
long cLng(float numb){
int nu = 0;
long cLng = 0;
try{
nu = cInt(numb);
cLng = (long) nu;
}catch(Exception e){}
return cLng;
}
float dealFloat(String s){
s=dealNull(s);
if ((""))
return 0;
return (s);
}
String[] split(String source,String div){
int arynum = 0,intIdx=0,intIdex=0,div_length = ();
if(pareTo("")!=0){
if((div)!=-1){
intIdx = (div);
for(int intCount =1 ; ; intCount++){
if((div,intIdx+div_length)!=-1){
intIdx= (div,intIdx+div_length);
arynum = intCount;
}
else {arynum+=2;break;}
}
}else arynum =1;
}else arynum =