FIELD Rate := Rate;
tmp := @Text(Rate);
varLeft := @Left(tmp;".");
varRight := @Right(tmp; ".");
@If(tmp = "" ;
@Success ;
@If(@Contains( tmp ;".") ;
@If(varLeft = "0" ; "";@SetField("Rate"; @TextToNumber("0" + "." + varLeft + varRight ))) ;
@SetField("Rate"; @TextToNumber("0" + "." + tmp ))))