qbcore-framework / qb-weapons

Weapon Logic Script For QB-Core :gun:
GNU General Public License v3.0
29 stars 194 forks source link

Round weapon quality to two decimal points to avoid rounding issues #202

Closed mbiddle closed 1 week ago

mbiddle commented 1 week ago

Describe Pull request I noticed that the quality of weapons grows to a huge amount of decimal points so I updated the calculations to round to two decimal points.

Before: image

After: image

Questions (please complete the following information):