且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从编辑文本和打印中获取数字的最后一位数字

更新时间:2023-02-10 17:21:16

我不明白你真正想要的,请你解释一下你的需求是什么?

您想在用户输入后打印最后一个数字吗?


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 ?