format_number#

format_number(x, floating_point: int = 2) str[source]#

Format number for elegant display.

Parameters
x

Number to be displayed

floating_pointint , default: 2

Number of floating points to display

Returns
——-
str

String of beautified number