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