#430. Removed format_number function usage from ensure_valid_price.
#430. Merge with last changes.