如何从编辑文本和打印中获取数字的最后一位数字 [英] How can i get last digit of a number from edit text and print
本文介绍了如何从编辑文本和打印中获取数字的最后一位数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个编辑文本框,有4位数字,但你只想要一个数字的最后一位数字打印文本视图中的一个按钮
< b>我尝试了什么:
i不知道如何做到这一点
解决方案
< blockquote>我不明白你真正想要的,请你解释一下你的需求是什么?
您想在用户输入后打印最后一个数字吗?
I Have A Edit Text Box and there are 4 digit number but u only want last digit of a number a print in text view by call a button
What I have tried:
i have no idea that how to do this
解决方案
i am not understanding what you really want can you please explain whats your need ?
You want to print the last number after get input by the user ?
这篇关于如何从编辑文本和打印中获取数字的最后一位数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文