• Corngood@lemmy.ml
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 days ago

    I thought it was just an overdramatic way of saying that it’s difficult to change the tax rate, but:

    But a compromise has surfaced: the government is now floating the idea of reducing the tax on food to 1%, which could be done in five or six months.

    How could you possibly build something this stupid? Maybe we’ll just store the tax rate, as a percentage, minus 1, in 4 bits.

    I guess realistically it’s probably something about creating multiple transactions and having one of them be invalid, but wouldn’t that also break when the tax gets rounded to zero?

    • setsubyou@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      5 days ago

      There were concerns that if the tax rate is zero they have to check everywhere that nothing is ever divided by the tax rate or the computed tax. If it’s 1% they just have to change the number everywhere. And then I guess a significant part of the “months” that takes is also just testing, certifications, etc.

      • Corngood@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        Huh, I hadn’t considered division. I guess that would explain why 0 is harder than 1, at least for tax rate. They must have already been able to handle 0 computed tax e.g. 5円 at 8%.

        Have you actually seen a technical discussion about this? I find it fascinating