Java mean mean(double ask, double bid)

Here you can find the source of mean(double ask, double bid)

Description

mean

License

Apache License

Parameter

Parameter Description
ask a parameter
bid a parameter

Declaration

public static double mean(double ask, double bid) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**//from  w  w w  .ja v  a  2  s  .  c  om
     *
     * @param ask
     * @param bid
     * @return
     */
    public static double mean(double ask, double bid) {
        return Math.abs((ask + bid) / 2);
    }
}

Related

  1. getMean(final Integer[] values)
  2. getMeanValue(ArrayList values)
  3. Mean(ArrayList values)
  4. mean(Collection terms)
  5. mean(double a, double b)
  6. mean(Double totalValue, int numValues)
  7. mean(double v1, double v2)
  8. mean(double values[])
  9. mean(Double[] a)