I searched around and couldn\'t find the trunc function for C++. I know I can do this:
trunc
int main() { double a = 12.566789; cout <<
use ceil or floor from cmath
ceil
floor