Garry's Mod Wiki

bit.tobit

  number bit.tobit( number value )

Description

Normalizes the specified value and clamps it in the range of a signed 32bit integer.

Arguments

1 number value
The value to be normalized.

Returns

1 number
swapped