Turtle85 0 Newbie Poster

hey guys,

I would like to know the syntax in Java for truncating variables of type Double.

The code below is in Pascal and i would like to know how to write it in Java:

x := trunc(y +7/h);