Get last three digits of an integer

后端 未结 2 1830
無奈伤痛
無奈伤痛 2020-12-10 15:22

I wish to change an integer such as 23457689 to 689, 12457245 to 245 etc.

I do not require the numbers to be rounded and do not wish to have to convert to String.

2条回答
提交回复
热议问题