Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display decimal depois da Virgula #96

Open
murilolivorato opened this issue Mar 11, 2020 · 2 comments
Open

Display decimal depois da Virgula #96

murilolivorato opened this issue Mar 11, 2020 · 2 comments

Comments

@murilolivorato
Copy link

murilolivorato commented Mar 11, 2020

Olá amigo , primeiramente parabéns pela classe .
Eu preciso que este número -


 5824

vire isto -


 R$ 58,24

Não isto -


 R$ 5824,00

Existe esta possibilidade ? por favor , preciso de ajuda .
Obrigado . =)

@hamonCordova
Copy link

Você precisa transformar esse número para 58.24. Precisa do ponto flutuante.

@jonathanpmartins
Copy link

v-money3 suporta isso utilizando v-model. (only vue3 support)

  • 5824 com 2 casas decimais vira 58.24 utilizando v-model.
  • 5824 com 2 casas decimais vira 5824.00 utilizando v-model.number.

Mais informações: jonathanpmartins/v-money3#38 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants