Post

Replies

Boosts

Views

Activity

Reply to array
Yes that works. But what if I don't know what's going to be in the array? It's for a pizza delivery program. The array holds the cost of the deliveries. In myfunc I want to print each element out to the screen. Thanks for your help.
Dec ’24
Reply to percentage
Claude31, What's wrong with my code? Thanks
Replies
Boosts
Views
Activity
Dec ’24
Reply to Checking for NIL
Thanks for your help.
Replies
Boosts
Views
Activity
Dec ’24
Reply to format percentages
Thank you.
Replies
Boosts
Views
Activity
Dec ’24
Reply to format percentages
I get 0%. Here's my code: print(tipc) let percentString = String(format: "%.0f%%", tipc) print(percentString) 18.181818181818183 0%. What did I do wrong?
Replies
Boosts
Views
Activity
Dec ’24
Reply to navigation
Thank you very much.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Dec ’24
Reply to Navigation View
Thank you
Replies
Boosts
Views
Activity
Dec ’24
Reply to arrays
Thanks. What if I don't know what's in the array?
Replies
Boosts
Views
Activity
Dec ’24
Reply to percentages
thank you
Replies
Boosts
Views
Activity
Dec ’24
Reply to percentages
I can't find anything on String(format:). When I run that it returns 0.
Replies
Boosts
Views
Activity
Dec ’24
Reply to array
Yes that works. But what if I don't know what's going to be in the array? It's for a pizza delivery program. The array holds the cost of the deliveries. In myfunc I want to print each element out to the screen. Thanks for your help.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Cannot find 'detailline' in scope
Thank you. I'll try to create a test project. What are the few reasons it could be?
Replies
Boosts
Views
Activity
Dec ’24
Reply to Cannot find 'detailline' in scope
I got a test project. I don't know how to send a link. Can you help me? Thanks
Replies
Boosts
Views
Activity
Dec ’24
Reply to Cannot find 'detailline' in scope
Is it file/share Email a link I think I need your email.
Replies
Boosts
Views
Activity
Dec ’24
Reply to Cannot find 'detailline' in scope
Did you forget about me?
Replies
Boosts
Views
Activity
Dec ’24
Reply to cannot find in scope
Now I get cannot find detailLine in scope. Where is the code formatter tool? detailLine(costa: &costa,tipa: &tipa) } Cannot find 'detailLine' in scope
Replies
Boosts
Views
Activity
Dec ’24