| Package | Description |
|---|---|
| pro.fessional.mirana.math |
| Modifier and Type | Method and Description |
|---|---|
static AverageDecimal |
AverageDecimal.of(BigDecimal total,
int count)
average the number with the count, and the scale is 2 (0.01)
20/6 = [3.33, 3.33, 3.34, 3.33, 3.33, 3.34]
|
static AverageDecimal |
AverageDecimal.of(BigDecimal total,
int count,
int scale)
average the number with the count, and the assigned scale
20/6 = [3.33, 3.33, 3.34, 3.33, 3.33, 3.34]
|
Copyright © 2023. All rights reserved.