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