alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agoJavalemmy.worldimagemessage-square77fedilinkarrow-up1583arrow-down148
arrow-up1535arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agomessage-square77fedilink
minus-squarefsxylo@sh.itjust.workslinkfedilinkarrow-up26·11 months agoAlso because if you are dealing with a double, then you’re probably dealing with multiple, or doing math that may produce a double. So returning a double just saves some effort.
Also because if you are dealing with a double, then you’re probably dealing with multiple, or doing math that may produce a double. So returning a double just saves some effort.