MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / format_number

Method format_number

utils/utils.py:31–35  ·  view source on GitHub ↗
(value:object)

Source from the content-addressed store, hash-verified

29
30 @staticmethod
31 def format_number(value:object)->str:
32 if isinstance(value, int):
33 return f'{value:,.0f}'
34 else:
35 return format(int(value))
36
37 @staticmethod
38 def is_bool(value:str)->bool:

Callers 1

get_tables_countMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected