Here you can find the source of cubed(final int input)
Parameter | Description |
---|---|
input | number to edit |
public static double cubed(final int input)
//package com.java2s; //License from project: Creative Commons License public class Main { /**/* ww w .j a v a2s .co m*/ * Cubes the specified number. * @param input number to edit * @return the number cubed */ public static double cubed(final int input) { return Math.pow(input, 3); } }