KiofKi
KiofKi@feddit.de
Joined
0 posts • 104 comments
I have a 2 running teamspeak for gaming with my wife (separate rooms and don’t want to yell) and pihole. And a 3 hooked to a 3d printer running octoprint.
"By default, the sort() function sorts values as strings.
This works well for strings (“Apple” comes before “Banana”).
However, if numbers are sorted as strings, “25” is bigger than “100”, because “2” is bigger than “1”.
Because of this, the sort() method will produce incorrect result when sorting numbers."
Für das Lesen der Kommentare sollte ich Schmerzensgeld bekommen