https://mkaz.blog/code/python-string-format-cookbook/

Float Number formatting in Python refer to this article.