Re: integer and double adding


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by Peter DePasquale on September 26, 2001 at 16:15:31:

In Reply to: integer and double adding posted by Gustavo Moura on September 26, 2001 at 15:37:42:

Anywhere? Hmmmm..... Slide 25, Chapter 3 of the notes seems to point you in the right direction.

: When I add a double and an integer, for example 1.5+2, does anyone know if the result will be given as a double (3.5) or an integer (3)??
: it doesn't say anywhere in the text notes whether or not C++ actually makes such convertion... thanks!





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]