diff --git a/templates/journey.html.ep b/templates/journey.html.ep index 9d62daa..ee5d008 100644 --- a/templates/journey.html.ep +++ b/templates/journey.html.ep @@ -130,8 +130,8 @@ <%= numify_skipped_stations($journey->{skip_route}) %>
% } % if ($journey->{km_route} > 0.1) { - ca. <%= sprintf('%.1f', $journey->{km_route}) %> km - (Luftlinie: <%= sprintf('%.1f', $journey->{km_beeline}) %> km) + ca. <%= sprintf('%.f', $journey->{km_route}) %> km + (Luftlinie: <%= sprintf('%.f', $journey->{km_beeline}) %> km) % } % else { ?