alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 3 years agoJavalemmy.worldimagemessage-square23linkfedilinkarrow-up1406arrow-down137
arrow-up1369arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 3 years agomessage-square23linkfedilink
minus-squarefsxylo@sh.itjust.workslinkfedilinkarrow-up25·3 years 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.