Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active December 15, 2020 21:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save parzibyte/07b18b772cc3433b71f905dc8e4fc686 to your computer and use it in GitHub Desktop.
numero = 1.234
print("{:.2f}".format(numero))
# Salida: 1.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment