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