Inductor@feddit.de to Programmer Humor@programming.dev · 1 year ago0.30000000000000004feddit.deexternal-linkmessage-square54fedilinkarrow-up1435arrow-down115
arrow-up1420arrow-down1external-link0.30000000000000004feddit.deInductor@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square54fedilink
minus-squareJajcus@kbin.sociallinkfedilinkarrow-up18·1 year agoIf working with currency use types and formating functions appropriate for currency. Not float.
minus-squarepsudlinkfedilinkarrow-up4arrow-down1·edit-21 year 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