I need the sum of an array in my code. this gives an error..
func totalCart() {
productTotal = 0
for item in shoppingcard2 {
productTotal += item as NSString).floatValue
}
total = productTotal
}
Hi,I'm very very interested in your job.
I have many experience on programming.
I have done many swift programs and make them on high level.
I have enough experience for this job.
I can complete your work in 1 day.
I wanna work for u.
If u award me, i can finish this job without fail.
Please send me message.
thanks
€23 EUR w 1 dzień
2,5 (4 opinii)
2,1
2,1
1 freelancer is bidding on average €19 EUR for this job
I can definitely solve this for you, but I would need to see what are the variables that you created and what kind of summary do you need. Is it just adding items in to that array, or prices for those items which would include int values.