function calc(s,f){ var result; result=math.floor(s/f); return result; }