如何删除整数的第一位数字?
我的输入是一个整数(例如 i = 123456789)。
然后我想删除第一位数字,使 i 等于 23456789。
try this
n = n % (int) Math.pow(10, (int) Math.log10(n));