fix(x: number): number
Rounds numbers toward zero.
Rounds numbers toward zero. This operation is element-wise for arrays and matrices.
fix(x: array): array
Rounds numbers toward zero.
Rounds numbers toward zero. This operation is element-wise for arrays and matrices.
x: array
The input number.
The rounded value.
fix(x: matrix): matrix
Rounds numbers toward zero.
Rounds numbers toward zero. This operation is element-wise for arrays and matrices.
x: matrix
The input number.
The rounded value.