TC 1.5 - i need to do a printf...

Perrone Ford perrone at loligo.cc.fsu.edu
Fri Feb 3 07:51:27 AEST 1989


Please help me...

I am trying to da a program that involves floating point math
and am trying to have the decimals have varying precision.

  Now on my unix systems i can do something like this:

  printf(" %2.*f ",precision);

		: where precision is an integer.

My turboC bible does not indicate that this is an option in 
 turboC 1.0 - 2.0.

 any suggestions?

 Thanks in advance .... Perrone Ford
 Systems Analyst Florida State University



More information about the Comp.lang.c mailing list