double val = 11.23; double decimal = val - (int)val;
printf()
#include <math.h> : : double val = 2011.8 - 1989; double roundVal = ceilf(val * 100) / 100; </math.h>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)