|
|
|
|
@ -649,11 +649,11 @@ open class Session : RealmObject(), Savable, RowUpdatable, RowRepresentable, Tim |
|
|
|
|
cgBigBlind?.let { bb -> |
|
|
|
|
val sb = cgSmallBlind ?: bb / 2.0 |
|
|
|
|
val preFormattedBlinds = "${sb.formatted}/${bb.round()}" |
|
|
|
|
// println("<<<<<< bb.toCurrency(currency) : ${bb.toCurrency(currency)}") |
|
|
|
|
// println("<<<<<< preFormattedBlinds : $preFormattedBlinds") |
|
|
|
|
println("<<<<<< bb.toCurrency(currency) : ${bb.toCurrency(currency)}") |
|
|
|
|
println("<<<<<< preFormattedBlinds : $preFormattedBlinds") |
|
|
|
|
val regex = Regex("-?\\d+(\\.\\d+)?") |
|
|
|
|
blinds = bb.toCurrency(currency).replace(regex, preFormattedBlinds) |
|
|
|
|
// println("<<<<<< blinds = $blinds") |
|
|
|
|
println("<<<<<< blinds = $blinds") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|