Custom.java 314B

1234567891011121314151617181920
  1. /**
  2. * Write a description of class Custom here.
  3. *
  4. * @author (your name)
  5. * @version (a version number or a date)
  6. */
  7. public class Custom
  8. {
  9. public static double round(double x)
  10. {
  11. return Math.round (x);
  12. }
  13. public static double abs(double x)
  14. {
  15. return Math.abs (x);
  16. }
  17. }