Yes, I did mean truncating.
I switched it to floats and I set the precision to 10.
The program is working flawlessly now if anyone is interested in seeing the RPN Calculator