Peter Seliger·FollowJan 16, 2024--Share... and parseInt always should be used with the 2nd radix parameter, like ... parseInt(value, 10);