From: Derek Teixeira Date: 2007-02-18T22:46:34+09:00 Subject: Re: modulus/division.. i tried to get a better understanding of the % method, so i just set up a program to show me the results of the % of a number ... so i tried out the number 4. puts 4%1000 puts 4%500 puts 4%100 puts 4%50 puts 4%10 puts 4%5 and for everyline i got "4" as the remainder.. but when i tried these with a calulator .. i only got 4 as a remainder for the 1000. when i did the 4/500 i got a .008 .. so shouldn't the % be an 8? -- Posted via http://www.ruby-forum.com/.