Nevermind...that script end up not working all the time, i had my bank account set at 999900 and it displayed 1998900.
Could you maybe tell me what is wrong?
here is what i did with the scrip that you gave me.
NPC Code:
baccount=strtofloat(#s(bankaccount));
baccount1=int((baccount/1000000-(baccount/1000000)%1)%10);
baccount2=int((baccount/100000-(baccount/100000)%1)%10);
baccount3=int((baccount/10000-(baccount/10000)%1)%10);
baccount4=int((baccount/1000-(baccount/10000)%1)%10);
baccount5=int((baccount/100-(baccount/100)%1)%10);
baccount6=int((baccount/10-(baccount/10)%1)%10);
baccount7=int((baccount/1-(baccount/1)%1)%10);