Original Post
Hi!
I have
double b = 0.1;
is there a function, which adds me an 0 to b?
b = 0.10
I know it sounds silly. But i have an simple math programm (learning simple math stuff with computer). And I need an output with two decimal figure.
I save two numbers in an stringstream and then return the string:
stream << a << " " << b << " | ";
Christian