Liam's BitchX Command Reference
BitchX scripting function $trunc()
- trunc
- Function
- $trunc()
- Usage
- $trunc(num_of_digits number)
- Returns
- number truncated to num_of_digits
- Example
- /do echo $trunc(5 7819263864) returns 7819263864.00000
Note however that $trunc(3.123456 3) returns 3.000 and not 3.123