Putting dollar sign in an input in Laravel

Asked

Viewed 19 times

-3

I am developing a system in Laravel and I need a help in this code snippet, as I put to appear the dollar "R$" in this section?

< input name="valor_entrada" required id="valor_entrada"  value="{{$crediarios -> valor_compra}}" type="number" min="1" step="any" class="form-control"></div>

This is an IMPUT that brings the value of the database, a purchase value of a product, only when I bring this information it comes in a number as for example 144.5, I wonder if there is a way in this small stretch I sent up to put to came along with the R$ I am beginner in programming I’m struggling in this.

  • Please clarify your problem or provide additional details in order to highlight exactly what you need. The way it’s written these days it’s hard to tell exactly what you’re asking.

  • It wouldn’t just be input? value="R${{$crediarios -> valor_compra}}"

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.