sdr.percent(x: ArrayLike) NDArray[float_]

Converts from a ratio to a percentage.

Parameters:
x: ArrayLike

The input ratio.

Returns:

The percentage.

Examples

Convert 0.5 to 50%.

In [1]: sdr.percent(0.5)
Out[1]: 50.0

Convert 0.25 to 25%.

In [2]: sdr.percent(0.25)
Out[2]: 25.0