this is the code I’m using to display the price of a ‘property’:
<%= number_to_currency(@property.price) %>
what I’m looking to do is to divide the result of this number_to_currency conversion by 4 to get a weekly price (rather than a monthly price)
thanks for any help
<%= number_to_currency(@property.price/4) %>Does that not work?