Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ccxt/ccxt
/ sub
Method
sub
python/ccxt/base/precise.py:111–113 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
109
return
Precise(result, bigger.decimals)
110
111
def
sub(self, other):
112
negative = Precise(-other.integer, other.decimals)
113
return
self.add(negative)
114
115
def
abs(self):
116
return
Precise(abs(self.integer), self.decimals)
Callers
11
__sub__
Method · 0.95
gt
Method · 0.95
ge
Method · 0.95
normalize
Function · 0.45
get_regexp_width
Function · 0.45
camel_to_snake
Function · 0.45
convert_to_snake_case
Function · 0.45
string_sub
Method · 0.45
decimal_to_precision
Function · 0.45
urlencode_with_array_repeat
Method · 0.45
un_camel_case
Method · 0.45
Calls
2
add
Method · 0.95
Precise
Class · 0.70
Tested by
1
convert_to_snake_case
Function · 0.36