Home
last modified time | relevance | path

Searched refs:coerce_to_int (Results 1 – 2 of 2) sorted by relevance

/dports/lang/ruby26/ruby-2.6.9/lib/
H A Dmatrix.rb97 row_count = CoercionHelper.coerce_to_int(row_count)
98 column_count = CoercionHelper.coerce_to_int(column_count)
1684 def self.coerce_to_int(obj) singletonMethod
1705 val = CoercionHelper.coerce_to_int(val)
/dports/devel/py-natsort/natsort-8.0.2/docs/
H A Dhowitworks.rst223 >>> def coerce_to_int(x):
237 In [6]: %timeit [coerce_to_int(x) for x in numbers]
240 In [7]: %timeit [coerce_to_int(x) for x in not_numbers]
302 ... coerce = coerce_to_float if as_float else coerce_to_int
602 ... # Note that the coerce_to_int/coerce_to_float functions
607 ... coerced_input = (coerce_to_int(s) for s in split_input)
775 the ``else:`` block of :func:`coerce_to_int`/:func:`coerce_to_float`.
904 be applied as part of the :func:`coerce_to_int`/:func:`coerce_to_float`