Talk:A Beginner's Guide to D/The Basics/The Structure of D

I removed this section:

There is one little issue here: If both numbers (operands) are integers the resulting value will be an integer, too. Especially if you write a division like 1 / 2 this is rounded downwards to an integer so the result is not 0.5, but 0!

To avoid this write: 1 / 2.0 The 2.0 is interpreted as floating point value, so the whole operation is now calculated as floating point and results in 0.5.

I don't think it belongs so early in the book. Later in the chapter, types are expounded on further. I think this would fit better there. Opinions? --GregorR 21:03, 8 September 2006 (UTC)
 * I wrote it here because I thought it is a common gotcha for beginners. Maybe it is worth to mention it here and to explain the why later in detail. --Mbutscher 19:52, 9 September 2006 (UTC)
 * OK, I'll agree to that. I think we'll need to move some other types into this chapter then, but that's OK. --GregorR 06:37, 10 September 2006 (UTC)