开发者

adding selected numbers together

开发者 https://www.devze.com 2022-12-30 05:22 出处:网络
I am worki开发者_运维知识库ng on a project that needs to add selected numbers together and show answer. so if I have say 10 textfields with numbers and the user picks three of them I want to show that

I am worki开发者_运维知识库ng on a project that needs to add selected numbers together and show answer. so if I have say 10 textfields with numbers and the user picks three of them I want to show that total.

thank you


The first question is how does the user "pick" the text fields?

After that it's simply writing a method that uses the same selection criteria to add the values.

0

精彩评论

暂无评论...
验证码 换一张
取 消