Clamps a Double between min and max. Example: 150.0.clamp(0.0, 100.0) → 100.0
150.0.clamp(0.0, 100.0)
100.0