MCPcopy Create free account
hub / github.com/ccxt/ccxt / string_mod

Method string_mod

python/ccxt/base/precise.py:236–239  ·  view source on GitHub ↗
(string1, string2)

Source from the content-addressed store, hash-verified

234
235 @staticmethod
236 def string_mod(string1, string2):
237 if string1 is None or string2 is None:
238 return None
239 return str(Precise(string1).mod(Precise(string2)))
240
241 @staticmethod
242 def string_or(string1, string2):

Callers 8

transferMethod · 0.80
transferMethod · 0.80
test_preciseFunction · 0.80
test_numberFunction · 0.80

Calls 2

PreciseClass · 0.70
modMethod · 0.45

Tested by 3

test_preciseFunction · 0.64
test_numberFunction · 0.64