Here you can find the source of mean(double ask, double bid)
Parameter | Description |
---|---|
ask | a parameter |
bid | a parameter |
public static double mean(double ask, double bid)
//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); } }