Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 1 month ago

pretty small subtotal.

programming.dev

message-square
26
fedilink
150

pretty small subtotal.

programming.dev

irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 1 month ago
message-square
26
fedilink
  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    33
    ·
    1 month ago

    Repeat after me: “Don’t use floating-point numbers for currency values.”

    • swab148@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      I still wanna see someone get naneinf money in Balatro

      • SuperSpruce@lemmy.zip
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        With the cryptid mod you probably can

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      Instead, use arrays.

      int[] total = […itemsPriceArrays.flatten()];
      

Software Gore@programming.dev

software_gore@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !software_gore@programming.dev

A community for posting software malfunctions

Deliberately bad software or bad design is not software gore, it must be something unintentional

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient and shear it



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 2 users / week
  • 28 users / month
  • 1.45K users / 6 months
  • 1 local subscriber
  • 1.19K subscribers
  • 62 Posts
  • 465 Comments
  • Modlog
  • mods:
  • irelephant [he/him]@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org