Skip to main content

Trabalhe com formatação de números de uma maneira rápido e fácil.

Project description

Trabalhe com formatação de números de uma maneira rápido e fácil.

from lealNumeros import LealNumerosAPI

# Colocar pontuação nos números
print(LealNumerosAPI.numerosPontuados(10000))
# Saida: 10.000

# Colocar simbolos      
        # Formatos disponíveis: (8) Mil
        #                           M (Milhão)
        #                           B (Bilhão)
        #                           T (Trilhão)
        #                           Q (Quadrilhão)
        #                           Qi (Quintilhão)
        #                           Sx (Sextilhão)
        #                           Sp (Septilhão)
print(LealNumerosAPI.numerosSimbolos(10000))
# Saida: 10Mil

# Escrever o nome do número (PT-BR)
print(LealNumerosAPI.numerosNome(100))
# Saida: Dez mil

# Escrever diferenças entre números
print(LealNumerosAPI.numerosDiferenca(5, 5))
# Saida: 5

# Escrever diferenças entre dias
print(f'{LealNumerosAPI.dataDiferenca(1, 2, 2023)} Dias')

# Calculadora
conta = input('Qual a conta matemática? (ex.: 10 + 5)')
resultado = LealNumerosAPI.numerosCalculadora(conta)
print(resultado)

Discord: silvaleal#7458 Suporte: https://discord.gg/394ChkbKrt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lealnumeros-0.0.5.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file lealnumeros-0.0.5.1.tar.gz.

File metadata

  • Download URL: lealnumeros-0.0.5.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for lealnumeros-0.0.5.1.tar.gz
Algorithm Hash digest
SHA256 5d9242bb53c8da5cdeecb30982165bf3bf4db620d86c036624102deb5c5f7675
MD5 0ba76ffb46f8f7a1d5dd3605dc82a200
BLAKE2b-256 340c851636c08d6508ed78c656b58461eff67e635c4e6970270cf51fd8957a9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page