System error

error:  Illegal division by zero at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/c/listings line 48.
context: 
... 
44:  % if (length($prop->Subdivision) > 5) {
45:  %# <b><% $prop->Subdivision %></b><br/>
46:  % }
47:  Sold on <% IDX::Date->new($prop->ClosedDate)->verbose_abbr %><br/>
48:  $<% Number::Format::format_number($prop->SalesPrice) %> <small>($<% Number::Format::format_number(($prop->SalesPrice / $prop->SqFtTotal),2,2) %> / SqFt)</small><br/>
49:  <% $prop->Beds %> BR, <% $baths %> BA, <% Number::Format::format_number($prop->SqFtTotal) %> sqft<br/>
50:  <span class="d"><% $prop->listing_firm %> - MLS # <% $prop->MlsNum %>
51:  </span>
52:  </div>
... 
code stack:  /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/c/listings:48
/usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/area/dhandler:17
raw error






























Illegal division by zero at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/c/listings line 48.


Trace begun at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Illegal division by zero at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/c/listings line 48.^J') called at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/c/listings line 48
HTML::Mason::Commands::__ANON__('p', 'HASH(0x3776f00)', 'args', 'HASH(0x2b74be8)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x4a4db78)', 'p', 'HASH(0x3776f00)', 'args', 'HASH(0x2b74be8)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'p', 'HASH(0x3776f00)', 'args', 'HASH(0x2b74be8)') called at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-condos-sold/area/dhandler line 17
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x3780770)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2bbb240)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2bbb240)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2e3e698)', 'Apache2::RequestRec=SCALAR(0x1e30730)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x1e30730)') called at -e line 0
eval {...} at -e line 0