diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-19 19:24:10 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-19 19:24:10 +0100 |
commit | a7f027fe14d59ca57f49286586d546ea4c132836 (patch) | |
tree | a49235d4739fae7904f91b56212350e0f8c7526d | |
parent | fb6c16a462e9110ee3faf5af202ae27ea96d23b8 (diff) |
Always print price with two decimals
-rwxr-xr-x | bin/dbris | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ for my $connection ( $ris->connections ) { $connection->arr ? $connection->arr->strftime('%H:%M') : q{??:??}, format_occupancy($connection), defined $connection->price - ? sprintf( ' %s %s', $connection->price, $connection->price_unit ) + ? sprintf( ' %.2f %s', $connection->price, $connection->price_unit ) : q{}, $header, ); |