Splitting an array
-
I am trying to split a change amount into two parts, Bill Amt and Change Amt. Ex. (12.45) Here is the code that is not working even though it seems correct: my ($ChngeAmt, $Paper, $Cent, @money) @money = split(/./, $ChngeAmt); $Paper = $money[0]; $Cent = $money[1]; Why is this code not splitting??
Ty
-
I am trying to split a change amount into two parts, Bill Amt and Change Amt. Ex. (12.45) Here is the code that is not working even though it seems correct: my ($ChngeAmt, $Paper, $Cent, @money) @money = split(/./, $ChngeAmt); $Paper = $money[0]; $Cent = $money[1]; Why is this code not splitting??
Ty
What language is this? Perl?
Jon Sagara I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So i had to leave the place as soon as possible. --Mr.Prakash Blog | Site | Articles