I recall doing this before but I just can’t remember how I did it, so was wondering if somebody could please enlighten me?
By default you usually get scores such as 14.9236183166504 for example; how can I trim that to just 2 decimal points or none at all?
The score is just a floating point number so you can use
round; for example, if you want two decimal places:and if you want none:
There’s also
floorandceilif you’re looking for integers on either side of the score ortruncateif you want to truncate the floating point value rather than round it.