function Tform1.sswu(yuanshi:string):real;
var
dd:string;
begin
if pos('.',yuanshi)<>0 then
begin
dd:=copy(yuanshi,pos('.',yuanshi)+1,3);
if (strtofloat(dd)>=0)and(strtofloat(dd)<=25) then
result:=strtofloat(copy(yuanshi,1,pos('.',yuanshi)-1))
else
if (strtofloat(dd)>25)and(strtofloat(dd)<=75) then
result:=strtofloat(copy(yuanshi,1,pos('.',yuanshi)-1))+0.5
else
if (strtofloat(dd)>75)and(strtofloat(dd)<=99) then
result:=strtofloat(