From 102e4498034c26afd0333213716953b8a218fb5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 4 Dec 2020 09:21:45 +0200 Subject: [PATCH] rounding error --- III/Bautrenas/task2/ZPT003_2020_02_ats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/III/Bautrenas/task2/ZPT003_2020_02_ats.py b/III/Bautrenas/task2/ZPT003_2020_02_ats.py index 2dfba15..c12a840 100755 --- a/III/Bautrenas/task2/ZPT003_2020_02_ats.py +++ b/III/Bautrenas/task2/ZPT003_2020_02_ats.py @@ -14,8 +14,8 @@ t1_rastu_kiekis=5 t1_rastu_ilgis=5.38 # m t1_storgalio_zieves_storis=10.0 # mm t1_plongalio_zieves_storis=7.5 # mm -t1_storgalio_skersmuo_be_zieves=round(t1_storgalio_skersmuo_su_zieve-t1_storgalio_zieves_storis/10*2+.5) # cm -t1_plongalio_skersmuo_be_zieves=round(t1_plongalio_skersmuo_su_zieve-t1_plongalio_zieves_storis/10*2+.5) # cm +t1_storgalio_skersmuo_be_zieves=t1_storgalio_skersmuo_su_zieve-t1_storgalio_zieves_storis/10*2+.5 # cm +t1_plongalio_skersmuo_be_zieves=t1_plongalio_skersmuo_su_zieve-t1_plongalio_zieves_storis/10*2+.5 # cm t1_vieno_rasto_turis=nupjauto_kugio_turis(t1_rastu_ilgis, t1_plongalio_skersmuo_be_zieves/100, t1_storgalio_skersmuo_be_zieves/100) # m3 t1_visu_rastu_turis=t1_vieno_rasto_turis*t1_rastu_kiekis # m3