scipp.floor

scipp.floor(x, *, out=None)

Round down to the nearest integer of all values passed in x.

Parameters
  • x (VariableLike) – Input data.

  • out (Optional[VariableLike]) – Optional output buffer.

Returns

Rounded down version of the data passed.

Return type

VariableLike