Re: The ZERO After the decimal point


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]

Posted by Gustavo Moura on September 24, 2001 at 17:27:04:

In Reply to: The ZERO After the decimal point posted by Paryank Shah on September 24, 2001 at 16:05:54:

Hey there...
you need to use the setw constructor followed by a fill constructor, for example, to print out the cents value you'd have something like: cout<Remember that to continue printing other stuff you will have to set the fill character back to an empty space (setfill(' '))...


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1044 Web Discussion Board ] [ FAQ ]