Change rounding for rep-19a to two decimals
This commit is contained in:
parent
fa789a77a8
commit
7c2a471a64
@ -16,7 +16,7 @@ packets_percentage_proto = ((df_proto['6 · # Packets'].sum() +
|
||||
|
||||
# Calculate ratio of packets from all other protocols
|
||||
packets_percentage_others = 100 - packets_percentage_proto
|
||||
print('Percentage of "others" from all protocols: ', round(packets_percentage_others, 1))
|
||||
print('Percentage of "others" from all protocols: ', round(packets_percentage_others, 2))
|
||||
|
||||
# Calculate percentage of unique source IPs with 1 (ICMP), 6 (TCP) or 17 (UDP) protocols
|
||||
uIPs_percentage_proto = ((df_proto['6 · # Unique Source IPs'].sum() +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user