What units is FrameInterval in?  Is it the number of 60hz frames between ticks?

Is the math here correct?  If you are targeting 30fps...  the math works out to like 1.9999999999.  Integer cast always truncates the decimal so FrameInterval  will be assigned a value of 1.  Is this what this should be to target 30fps?