I'm trying to display a 2000.00 in an input field in vuejs but it strips the .00.
<div id="app">
   <input
    class="form-control"
    type="number"
    v-model="solicitorsFees"/>
</div>
new Vue({
  el: "#app",
  data: {
   solicitorsFees: 2000.00,
  },
})
How do I get the input field to display 2000.00?
I can do this with a calculated property. But I need to apply this to multiple input fields.
solicitorsFeesDecimal: function(){
  return(this.solicitorsFees.toFixed(2))
},
 
<input class="form-control" type="number" v-model="solicitorsFeesDecimal"/>
Solution:
<input class="form-control" type="number" :value="(this.solicitorsFees).toFixed(2)"/>
 
     
     
    