Groovy

Groovy – pow()

  • Post author:
  • Post category:Groovy
  • Post comments:0 Comments

The method returns the value of the first argument raised to the power of the second argument. Syntax double pow(double base, double exponent) Parameters base - Any primitive data typeexponent…

Continue ReadingGroovy – pow()

Groovy – max()

  • Post author:
  • Post category:Groovy
  • Post comments:1 Comment

The method gives the maximum of the two arguments. The argument can be int, float, long, double. Syntax double max(double arg1, double arg2) float max(float arg1, float arg2) int max(int…

Continue ReadingGroovy – max()