Thanks for the reply!! I casted my first example like so:
Code:
int temp = 0;
temp = (int)46 * (int)10;
PrintToScreen ( "%d\n" , (int)temp );
The printed value is 460, so it works!
I tried this code however:
Code:
long temp = 0;
temp = (long)466 * (long)100;
PrintToScreen ( "%ld\n" , (long)temp ) ;
And "0b608" prints out. I'm assuming the value is in hex, which is kind of annoying. Did I write the print to screen parameters incorrectly?
Thanks for all your help,
Nathan