Which is also not a thing in javascript apparently; I must have had python's round(x, numPlaces) in my head at the time...