954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Formula

what would be the formula in getting the Hundredth's place, tenth's place, and one's place of a 3 digit integer??

nhes2x
Newbie Poster
2 posts since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

123 % 10 is 3.
123 % 100 is 23
23 / 10 is 2.
123 / 100 is 1.

Extrapolate an algorithm from that.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: