The thing i want to do is :
$numbertodivise = 500;
500 / 3 = 166,66
I want to divise the number in the most equitable part and the last part to add the difference , exemple :
500 / 3 will give me :
$result1 = 166
$result2 = 166
$result3 = 168
i want the code for every division how is the best way to do that ?