On Thursday 26 December 2002 11:42 pm, Brian Wisti wrote: > Integer division is one of those areas which is strangely > controversial. To some people, POLS is "integer divided by integer > results in an integer". To others, it is "a number divided by another > number results in the integer or decimal value to represent the precise > quotient, converting between numeric types if necessary". > > If you can't tell by my stumbling over the phrasing of this problem, I > belong in the first camp. For me in this case, POLS is sticking to the > initial types unless explicitly stating or absolutely required > otherwise. This behavior is similar to that of other languages, so > somebody coming in from one of those other languages would be surprised > if "1210/10" did not return 12! i do see your point, but i think it makes more sense for a strictly typed langauge, rather than a dynamic one like ruby.