title: Laravel Nova: Modify value (muliply) before saving to database
body: <p>I am using Laravel Nova to administrate my project. However, I save certain values in my database like percentages or prices as <code>x*100</code>. Why I am doing this? Because when saving numbers <code>*100</code> I can store them as <code>int</code> instead of <code>double</code> or <code>float</code>.</p>
  <p>However, this leads to the problem that I am seeing the number which is saved and multiplied by 100 in the database on my Laravel Nova Admin dashboard. I mean I can bypass that by using <code>resolveUsing</code> or <code>displayUsing</code> (<a href="https://nova.laravel.com/docs/3.0/resources/fields.html#field-resolution-formatting" rel="nofollow noreferrer">read here</a>). Then e.g. <code>1530</code> will be presented as <code>15,30</code> when diving by <code>100</code> which is correct.</p>
  <p>The only problem with this is when typing 100 in the percentage field e.g. it also gets saved as 100 and not as 10000 (100*100). Does anybody knows how I can implement this?</p>
  <p>I also tried to use eloquent observers. But this doesn't work because I end up in a infinity loop.</p>
  <p>Kind regards and thank you!</p>