<type>(scope): <description>

[body]

[footer(s)]
This commit is contained in:
ITQ
2025-11-23 15:33:36 +03:00
parent a4f9c1b38c
commit 4228ecf612
@@ -25,8 +25,8 @@ fun EducationGrades.toReadableText(): String = when (this) {
fun Pair<Float?, Float?>?.toSalaryRangeString(): String = when { fun Pair<Float?, Float?>?.toSalaryRangeString(): String = when {
this == null -> "Загрузка..." this == null -> "Загрузка..."
first != null && second != null -> "${(first!!.roundToInt() / 1000) * 1000}₽ - ${(second!!.roundToInt() / 1000) * 1000}" first != null && second != null -> "${first!!.roundToInt()}₽ - ${second!!.roundToInt()}"
first != null -> "от ${(first!!.roundToInt() / 1000) * 1000}" first != null -> "от ${first!!.roundToInt()}"
second != null -> "до ${(second!!.roundToInt() / 1000) * 1000}" second != null -> "до ${second!!.roundToInt()}"
else -> "Ошибка" else -> "н/д"
} }