4
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by WaltP
0

% is the remainder operator. It performs the usual division operation, but evaluates to the remainder instead of the quotient. In your example, 4 can't be divided by 10, so the quotient is 0 and the remainder is 4.

-2

hi! iam a newbie how can i get the 10th, 100th, 1000th place for example: the interger is 1235, the ones place is 5, the tenth place is 3, the hundreds place is 2, and the thousands place is 1, please help me

1

hi! iam a newbie how can i get the 10th, 100th, 1000th place for example: the interger is 1235, the ones place is 5, the tenth place is 3, the hundreds place is 2, and the thousands place is 1, please help me

Of course you're a newbie. Only newbies hijack other people's posts for their own questions. And then don't bother to try to answer the question themselves but ask here for free code. Of course, they also don't bother reading the other posts in the thread that already answer their question.

Votes + Comments
Nice One Walt
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.