toFullPrice

fun toFullPrice(price: String, divider: Int): String?

Convert a formatted price to a formatted price with a given divider. For example: "4.20 EUR" with a multiply of 4 will return "12.80 EUR"

Return

formatted divided price or null on error

Parameters

price

formatted price input

divider

divide the extracted price