BrightSide Workbench Full Report + Source Code
org.turro.math.Margin Class Reference

Static Public Member Functions

static double sellingPrice (double cost, double margin, int fractionDigits)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 25 of file Margin.java.

Member Function Documentation

◆ sellingPrice()

static double org.turro.math.Margin.sellingPrice ( double  cost,
double  margin,
int  fractionDigits 
)
static

Definition at line 27 of file Margin.java.

27  {
28  return new Round(cost / (1.0 - margin)).decimals(fractionDigits).value();
29  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: