sarkas.utilities.io.alpha_to_int#

sarkas.utilities.io.alpha_to_int(text)[source]#

Convert strings of numbers into integers.

Parameters

text (str) – Text to be converted into an int, if text is a number.

Returns

_ (int, str) – Integral number otherwise returns a string.