roundClamp function

int roundClamp(
  1. num value
)

Implementation

int roundClamp(num value) => math.max(0, value.round());