954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Truncate in Java

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);

Turtle85
Newbie Poster
6 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: