0

Need help simplifying this.

int acn =AccountNumber(); string acn1=DoubleToStr(acn,0); int acn2=StringLen(acn1); acn1=StringSubstr(acn1,MathMax(acn2-5,0),MathMin(5,acn2)); if(!kadaluarsa())return(0); if(StrToDouble(Pasword)!=StrToInteger(acn1)*9-1991){Alert("WRONG ACCOUNT" );return(0) ;}

27th Mar 2019, 10:32 AM
SAG3
SAG3 - avatar
1 Odpowiedź
0
int acn =AccountNumber(); string acn1=DoubleToStr(acn,0); int acn2=StringLen(acn1); acn1=StringSubstr(acn1,MathMax(acn2-5,0),MathMin(5,acn2)); if(!kadaluarsa())return(0); if(StrToDouble(Pasword)!=StrToInteger(acn1)*9-1991){Alert("WRONG ACCOUNT" ); return(0) ; }
27th Mar 2019, 11:13 AM
Anshumaan Mishra