| |||||||||||
| |||||||||||
Question on division (Java) - Also Perl, PHP, Python ...
Q:What's the difference between % and /? A:/ returns the result of a division % returns the remainder when you do a division. Divide 18 by 7 you get 2, with a remainder of 4 (i.e. 4 left over). so 18/7 give 2, and 18%7 gives 4. (written 2007-11-28 14:47:23) Associated topics are indexed under J703 - Java - VariablesP103 - Perl - Variables and Operations P202 - Perl Fundamentals H102 - A First PHP Web Page Y102 - Python - Fundamentals
Some other Articles
Santa on the train to MelkshamMore PHP sample and demonstration programs Easy selection of multiple SQL conditions from PHP Upgrade Mac OSX to Leopard, Web Server Apache httpd config lost Question on division (Java) - Also Perl, PHP, Python ... Refa Tandoori Indian Restaurant, Melksham An answer to a student asking 'Help' Looking after you Christmas Customer Crowds Using English can slow you right down! Christmas is coming very early 1693 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||