<table><tr><td style="">martonmiklos created this revision.<br />Restricted Application added a subscriber: kde-utils-devel.<br />martonmiklos requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10555" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>There are some software which does not tolerate the locale and producing float numbers with fixed decimal separator.</p>

<p>Copy pasting data from these software can be painful because kcalc cannot interpret these numbers properly.</p>

<p>To increase the user experience this patch will allow pasting both separators if the thousand-group separator is not a dot neither a comma. (Usually it is a space).</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Set some locale where the thousand separator is a space. For e.g.: Hungarian can be set with export LANG=hu_HU.UTF-8</li>
<li class="remarkup-list-item">Paste a number with the proper decimal separator (in the Hungarian example this is comma so the test number example is: 42,42)</li>
<li class="remarkup-list-item">Check if the number pasted correctly</li>
<li class="remarkup-list-item">Paste a number with the another decimal separator (in the Hungarian example this is dot so the test number example is: 42.42)</li>
<li class="remarkup-list-item">Check if the number pasted correctly</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R353 KCalc</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10555" rel="noreferrer">https://phabricator.kde.org/D10555</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcalcdisplay.cpp</div></div></div><br /><div><strong>To: </strong>martonmiklos<br /><strong>Cc: </strong>kde-utils-devel<br /></div>