We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b10d3c commit 8d4189bCopy full SHA for 8d4189b
app/models/home.rb
@@ -60,7 +60,7 @@ def price_display
60
return 'UNKNOWN PRICE' if price.zero?
61
62
# Assume monthly rental amount if < 10k
63
- if price > 1_000_000
+ if price >= 1_000_000
64
"£#{price / 1_000_000.0}m"
65
elsif price > 10_000
66
"£#{price / 1000}k"
0 commit comments