<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>137137</bug_id>
          
          <creation_ts>2006-11-10 03:19:04 +0000</creation_ts>
          <short_desc>modulus of a pasted number is always 0</short_desc>
          <delta_ts>2007-01-05 02:20:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kcalc</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Josh Metzler">joshdeb</reporter>
          <assigned_to name="Klaus Niederkrüger">kniederk</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>485607</commentid>
    <comment_count>0</comment_count>
    <who name="Josh Metzler">joshdeb</who>
    <bug_when>2006-11-10 03:19:05 +0000</bug_when>
    <thetext>Version:           2.0.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-1 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17-1-686

Copy the 10 in this sentence and paste it into kcalc.  Hit &quot;Mod&quot; and &quot;3&quot;, then &quot;=&quot;.  It will display 0, though 10 mod 3 is obviously 1.  kcalc reports 0 for any mod operation where the first number is pasted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>485985</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Rodrigues">phil</who>
    <bug_when>2006-11-11 22:30:55 +0000</bug_when>
    <thetext>Confirmed on r582183 (hrm, that&apos;s a bit old now)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>498249</commentid>
    <comment_count>2</comment_count>
    <who name="Klaus Niederkrüger">kniederk</who>
    <bug_when>2007-01-05 02:20:18 +0000</bug_when>
    <thetext>Just fixed this in the sourcecode for KDE-3.5.6. Thanks a lot for reporting it!!

Klaus</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>