dozen

Andrew J Bromage ajb@spamcop.net
Sun, 27 Oct 2002 12:19:18 +1100


G'day all.

On Sat, Oct 26, 2002 at 11:40:04AM -0700, Nuno Silva wrote:

> can anyone help me how to get the dozen number? using Int
> 
> example 
> 
> dozen 1020
> 
> the expected result is: 2

	dozen :: Int -> Int
	dozen 1020 = 2

Hope this helps.

Cheers,
Andrew Bromage