Inductor to Programmer Humor@programming.dev • 10 months ago0.30000000000000004feddit.deimagemessage-square55fedilinkarrow-up1445arrow-down116
arrow-up1429arrow-down1image0.30000000000000004feddit.deInductor to Programmer Humor@programming.dev • 10 months agomessage-square55fedilink
minus-squareJajcuslinkfedilink18•10 months agoIf working with currency use types and formating functions appropriate for currency. Not float.
minus-square@psud@aussie.zonelinkfedilink3•edit-210 months agoI was recalling a project in perl, which doesn’t have a variety of types. If you add values, you get a scalar, which will be a float if the numbers are not integers. I am aware my statement isn’t true in several languages
If working with currency use types and formating functions appropriate for currency. Not float.
I was recalling a project in perl, which doesn’t have a variety of types. If you add values, you get a scalar, which will be a float if the numbers are not integers.
I am aware my statement isn’t true in several languages