I have a current db table called scores that has 2 columns user_score and approved_score which are both Integer.
After initial launch we have decided to make things more exact by add a decimal to a score. So instead of getting a 10 you could get a 10.40 or a 10.47 ect. I am just curious on:
- Should I change it to a
decimalor afloatbased on us needing 2 decimal points with trailing 0. So:$table-> decimal('user_score', 8, 2)->change(); - Will that mess up data in there already? Like will a score of 123 stay 123? We rank based on score so the higher the better.