fractional

fractional(x)[source][source]

Get the fractional part of the scalar value x.

Parameters:

x (float) – Input scalar value.

Returns:

Fractional part of x.

Return type:

float