Image

Imagesiliconstitches wrote in Imagecpp 🤔curious

Listens: The Faint - Paranoiattack

Just out of curiosity, does it really matter whether or not you static_cast both variables that are being divided or not? Such as:

RPG = static_cast<double>(RS)/static_cast<double>(GP);

or is that just the same as:

RPG = static_cast<double>(RS)/GP;

(It's not that I didn't compile it and receive the same answer, but you never know with these things, heh).

Thanks for the feedback. :]