Hi, I've written the following program, and somehow b'cos of the compiler i'm using. it won't read in a decimal number. The below file is my fprint.h file , which 'allows' me to read in floats -------------------------------------------------------------------------------- void Fprint(double,int); void Fprint(double num,int dec) { double num2,num3; long j,y,z,i; y=(long)num; if (dec>0){ i=dec; dec=1; while (i>0){ dec=dec*10; i--; } num2=(double)y; num3=(num-num2)*dec; z=(long)num3; ...