The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

lot_acres and lotsize

  • bianchijc
  • bianchijc's Avatar Topic Author
  • Offline
  • Ponderer
  • Ponderer
9 years 6 months ago #35498 by bianchijc
bianchijc created the topic: lot_acres and lotsize
This may be intentional and if so not a bug but a feature request.

In components/com_iproperty/helpers/property.php at about line 58:
 $item->lotsize = ($item->lotsize && is_numeric($item->lotsize)) ? ($nformat == 1) ? number_format($item->lotsize) : number_format($item->lotsize,  0, ',', '.') : $item->lotsize;
$item->lot_acres = ($item->lot_acres && is_numeric($item->lot_acres)) ? ($nformat == 1) ? number_format($item->lot_acres) : number_format($item->lot_acres,  0, ',', '.') : $item->lot_acres;

It would be nice not to round at least the lot_acres to 0 decimal places or provide an option to set the number of decimal places or to not apply number formatting to acres.


Please Log in or Create an account to join the conversation.

9 years 6 months ago #35563 by vinny
vinny replied the topic: lot_acres and lotsize
Hi Chris - thanks for the suggestion. I've added this to our to-do list for future releases. I'll move this to the feature requests forum since it is intentional, but we'd be happy to change the formatting if needed and others show interest. Thanks.

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card

Please Log in or Create an account to join the conversation.

Time to create page: 0.153 seconds