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