ok that gives me an accurate man day count but the remainder is still off.
i.e.
if i have 30 hours
and i use your code i get a total of 4 mandays,, but not the remainder hours.
4mandays x 6.5 = 26
i still have 4 remaining hours unaccounted for
i need to format my result like this 4days, 4hours
so i sorta figured it out now thanks to your above post,, its prob a longer way of doing it and you prob know a prettier version of the same thing but bare with me.
$hours = "30.5";
$manDayz = floor($hours / 6.5);
$x = $manDayz * 6.5;
$manHours = round($hours - $x, 1);
echo "<p>$manDayz days, $manHours hours</p>\n";
This gives me 4 days, 4.5 hours ,, which is accurate.
But now what if he actually wants to put 30.25 hours.. lol i guess i just move the decimal up on the round to 2 eh!
lol i should have been able to figure this out on my own it was just basic math,, lol to many hours in front of a screen makes me loose my mind and panic sometimes..
if you have any suggestions to pretty this up a bit ( or shorten this ) they are greatly appreciated.
Thanks Again