title: Storing percentages in database as decimal
body: <p>I am developing a very simple quoting app for myself. The program uses percentages for gross margin in calculating sales costs. It can be anywhere from 1% to 100% normally but at the very most 1000% which would be an extreme edge case on its own. And it will always have 2 decimal places of accuracy.</p>
  
  <p>I am currently storing it as a fractional decimal (6,4) to allow for the maximum of 1000% and the two places of decimal. However is this the correct thing to do? Is this even the correct data type for this. I considered storing as integers or even decimal but as the complete percentage rather than a fractional honestly I am a little unsure and would appreciate the wisdom of more experienced people. I do not want to end up having to change this further down the road. Am i missing anything?</p>