Boost C++ Libraries: Ticket #2995: default value output precision https://svn.boost.org/trac10/ticket/2995 <p> If I make an option like this: ("maxlength", po::value&lt;double&gt;(&amp;<a class="missing wiki">MaxLength</a>)-&gt;default_value(.1), "Maximum edge length to keep.") </p> <p> The help message looks like this: --maxlength arg (=0.10000000000000001) Maximum edge length to keep. </p> <p> It probably should default to fewer decimal points. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2995 Trac 1.4.3 Vladimir Prus Tue, 05 May 2009 13:01:31 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2995#comment:1 https://svn.boost.org/trac10/ticket/2995#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Dup of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2994" title="#2994: Feature Requests: default value output precision (closed: fixed)">#2994</a> </p> Ticket