kilometer_to_yard

pyrcs.converter.kilometer_to_yard(km)[source]

Converts a distance from kilometres to yards.

Parameters:

km (int | float | None) – The distance in kilometres to convert.

Returns:

The equivalent distance in yards.

Return type:

float

Examples:

>>> from pyrcs.converter import kilometer_to_yard
>>> kilometer_to_yard(1)
1093.6132983377079