Can someone please tell me what the the Javascript equivilant of this VB Code is

VB Code:
  1. i = 1.33
  2. i=int(i)

I want to lose the decimal places.

Thanks