irelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 1 month agopretty small subtotal.programming.devimagemessage-square26fedilinkarrow-up1153arrow-down13
arrow-up1150arrow-down1imagepretty small subtotal.programming.devirelephant [he/him]@programming.devM to Software Gore@programming.devEnglish · 1 month agomessage-square26fedilink
minus-squarexia@lemmy.sdf.orglinkfedilinkEnglisharrow-up33·1 month agoRepeat after me: “Don’t use floating-point numbers for currency values.”
minus-squareswab148@lemmy.dbzer0.comlinkfedilinkarrow-up9·1 month agoI still wanna see someone get naneinf money in Balatro
minus-squareSuperSpruce@lemmy.ziplinkfedilinkarrow-up4·1 month agoWith the cryptid mod you probably can
minus-squarehperrin@lemmy.calinkfedilinkEnglisharrow-up3·1 month 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()];