The initial problem is this: Take the amount of minutes -> turn into quarter hours -> 1 quarter hour is 1 unit -> output units
I've been putting a page together all day today and my brain just stopped working a couple of minutes ago and I just can't wrap my head around how to output the amount of units. I knew posting the problem on this site would help.
So the user puts in the amount of minutes (not hours and minutes, just minutes) and the site needs to output the amount of units. A unit is a quarter hour. The minutes are always rounded up to the nearest quarter hour. I know I'll use ceil in some sort of way and probably(?) number_format, but I just can't get it to come out correctly. Any help is appreciated.