don't you have to typecast?
printf("%d", (double)v);


~"I never let school interfere with my education"~
-Mark Twain