This shows you the differences between two versions of the page.
java:lang:math:round [2013/04/08 09:25] 94.222.245.67 |
java:lang:math:round [2024/02/16 01:12] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
rounds a number | rounds a number | ||
- | ===== example of java.lang.Math.round ===== | + | ===== example of round in java ===== |
<code java> | <code java> | ||
Line 11: | Line 11: | ||
public class Roundanumber { | public class Roundanumber { | ||
- | /** | + | |
- | * @param args the command line arguments | + | |
- | */ | + | |
public static void main(String[] args) { | public static void main(String[] args) { | ||
// TODO code application logic here | // TODO code application logic here |