I frequently use KRunner to do simple sums when doing my accounting. I keep a ledger with numbers formatted as e.g. 1,000.00. My system settings in KDE for number formatting under Region & Language is set to British English, i.e. the way I want it. However, whenever I copy a sum from KRunner, e.g. “1000.25 + 1000.25”, it is copied as “2000,5” (i.e. no thousands-delimiter, wrong decimal point and only one decimal number). It gets a bit annoying to change this manually.

I can’t seen to find any specific settings for this in KRunner or the Calculator plugin, and I would expect it to respect KDE’s own settings.

Does anyone know how to force KRunner to do my bidding here?

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    It should respect your region and language settings by default. If it doesn’t, file a bug report.

    • D_Air1@lemmy.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      edit-2
      1 day ago

      Is this actually a bug though? I just don’t think krunner or many other calculators for that matter use delimiters anymore. Therefore, the only thing it is changing based on regional settings is the use of the comma or period to denote a decimal.

      I could be wrong considering I had a bit of trouble understanding the post. I just bring this up because in American English there are no delimiters for thousands place or above either.

      Also I don’t see how from this post the decimal point is wrong. Sure it is simplified to one decimal place, but again many calculators do this. Perhaps op simply needs something that provides more fine grained control over number formatting than what krunner is supposed to.

      • catloaf@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        If that was true, it should be using no delimiters, and therefore still a bug.

        Also, American English delimits large numbers like 1,000,000.

      • cyberwolfie@lemmy.mlOP
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Therefore, the only thing it is changing based on regional settings is the use of the comma or period to denote a decimal.

        Also I don’t see how from this post the decimal point is wrong. Sure it is simplified to one decimal place, but again many calculators do this.

        It uses a comma instead of a punctuation mark as the decimal point. Default numbers formatting on my system uses a punctuation mark. In other words, it is ignoring my system settings for what numbers should look like.

        I could be wrong considering I had a bit of trouble understanding the post. I just bring this up because in American English there are no delimiters for thousands place or above either.

        In that case I would expect it to output the numbers without the delimiter. But I have not set the number formatting to American English.