limiting numerical lengths in C++

  Tecno Dan 13:50 14 Feb 04
Locked

hi,

I wonder if there are any C++ porgrammers out there?

I'm learning C++ and trying to follow a turorial on it, although I dont understnad how to limit numerical variables to 2 decial places. For example changing 1.11111 to 1.11

Im told you need the iomanip.h header files and use setiosflags(ios::fixed) stream modifier, but this does not mean anything to me.

hope someone can help

many thanks

Daniel

This thread is now locked and can not be replied to.

Samsung Galaxy S8 review

1995-2015: How technology has changed the world in 20 years

This 2D animation about monsters is illustrated in a Van Gogh painterly style

How to get WWDC 2017 tickets