Changed rounding default mode to HALF_EVEN.

This commit is contained in:
Erik C. Thauvin 2021-05-30 21:17:21 -07:00
parent 644429b1ad
commit 76113a3526
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class ReadingTime @JvmOverloads constructor(
var plural: String = "min read",
excludeImages: Boolean = false,
extra: Int = 0,
var roundingMode: RoundingMode = RoundingMode.HALF_DOWN
var roundingMode: RoundingMode = RoundingMode.HALF_EVEN
) {
companion object {
private const val INVALID: Double = -1.0