Hay, how would i go about rounded a number up the nearest multiple of 3?
ie
25 would return 27 1 would return 3 0 would return 3 6 would return 6 >
Simply:
3.0*Math.ceil(n/3.0)
?