irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 5 months agopretty small subtotal.programming.devimagemessage-square26fedilinkarrow-up1152arrow-down13
arrow-up1149arrow-down1imagepretty small subtotal.programming.devirelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 5 months agomessage-square26fedilink
minus-squarexia@lemmy.sdf.orglinkfedilinkEnglisharrow-up33·5 months agoRepeat after me: “Don’t use floating-point numbers for currency values.”
minus-squarehperrin@lemmy.calinkfedilinkEnglisharrow-up3·5 months agoInstead, use arrays. int[] total = […itemsPriceArrays.flatten()];
minus-squareswab148@lemmy.dbzer0.comlinkfedilinkarrow-up8·5 months agoI still wanna see someone get naneinf money in Balatro
minus-squareSuperSpruce@lemmy.ziplinkfedilinkarrow-up4·5 months agoWith the cryptid mod you probably can
Repeat after me: “Don’t use floating-point numbers for currency values.”
Instead, use arrays.
int[] total = […itemsPriceArrays.flatten()];I still wanna see someone get naneinf money in Balatro
With the cryptid mod you probably can