System error

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






























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


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-homes-sold/c/listings line 47.^J') called at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-homes-sold/c/listings line 47
HTML::Mason::Commands::__ANON__('p', 'HASH(0x92535d8)', 'args', 'HASH(0x84fc1a0)') 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(0x9497620)', 'p', 'HASH(0x92535d8)', 'args', 'HASH(0x84fc1a0)') 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(0x92535d8)', 'args', 'HASH(0x84fc1a0)') called at /usr/local/idx/apache2/htdocs.savvygainesville/gainesville-homes-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(0x9253b90)') 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(0x603e700)') 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(0x603e700)') 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(0x80e3708)', 'Apache2::RequestRec=SCALAR(0x9384c48)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x9384c48)') called at -e line 0
eval {...} at -e line 0