Re: [Cppcms-users] How to set default response().out() stream precision?
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-06-18 09:54:53
|
> If you want to set precision... Do it right before rendering. > Or if you want to setup other settings on "some_other_stream" > and than use response().out().copyfmt(some_other_stream) Sorry, but do you realize how ridiculous that is? For every "view" in the project you'd have to call a function to change precision. That's just pain in the ass. What if you are a bank and your clients keep losing money because some guy forgot to change precision for every render() call? |