oleorun@real.lemmy.fanM to Weird News - Things that make you go 'hmmm'@real.lemmy.fanEnglish · 7 天前About 100,000 eggs worth $40K stolen from trailer in Pennsylvaniawww.nbcnews.comexternal-linkmessage-square27fedilinkarrow-up1149arrow-down11file-text
arrow-up1148arrow-down1external-linkAbout 100,000 eggs worth $40K stolen from trailer in Pennsylvaniawww.nbcnews.comoleorun@real.lemmy.fanM to Weird News - Things that make you go 'hmmm'@real.lemmy.fanEnglish · 7 天前message-square27fedilinkfile-text
minus-squareThreeme2189@sh.itjust.workslinkfedilinkEnglisharrow-up1·6 天前Why so many zeros after the decimal point? Do you deal in 1/10 cents much?
minus-squareValmond@lemmy.worldlinkfedilinkEnglisharrow-up4·edit-26 天前European. Or maybe just a programmer…
minus-squareSirQuackTheDuck@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-25 天前As a European programmer, the comma-period-decimal struggle is real. Most higher level programming languages don’t accept commas, so decimals are started by a period, and thousands can sometimes (varies by language) be separated by underscores. For example, these are all valid number notation: 1.00 0.000001 1_000.00 1_000_000 1_0_0_0_0_0_0.0_0 If you use the final one frequently, though, your employment may experience a period too.
Why so many zeros after the decimal point? Do you deal in 1/10 cents much?
European. Or maybe just a programmer…
As a European programmer, the comma-period-decimal struggle is real.
Most higher level programming languages don’t accept commas, so decimals are started by a period, and thousands can sometimes (varies by language) be separated by underscores.
For example, these are all valid number notation:
If you use the final one frequently, though, your employment may experience a period too.