On Mon, Aug 20, 2012 at 1:21 PM, Jeff B <a.GNUbie@myletters.us> wrote: > > printf( "\n(int)floatVarA = %f\n", (int)floatVarA); // Prints 0.0 You are printing a value of int type using %f. Don't do that. Ian