Comment on 0.30000000000000004
Jajcus@kbin.social 1 year agoIf working with currency use types and formating functions appropriate for currency. Not float.
Comment on 0.30000000000000004
Jajcus@kbin.social 1 year agoIf working with currency use types and formating functions appropriate for currency. Not float.
psud@aussie.zone 1 year ago
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.