From be3ee681aab2012796a01b1ae98f778c829cb935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 30 Nov 2019 11:20:56 +0200 Subject: [PATCH] fix coordinate precision --- Karto/assignment4/KTZ004_2019_04_ats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Karto/assignment4/KTZ004_2019_04_ats.py b/Karto/assignment4/KTZ004_2019_04_ats.py index ac2cdc2..d1440fc 100755 --- a/Karto/assignment4/KTZ004_2019_04_ats.py +++ b/Karto/assignment4/KTZ004_2019_04_ats.py @@ -9,8 +9,8 @@ Motiejus_Jakstys === Apskaiciuotos posukio tasku koordinates (LKS94 koord.sist. 0.00 tikslumu)===""") for v in vertices: print("Tasko Nr.%d koordinates" % v.point) - print("X = %.3f" % v.coords.lksx) - print("Y = %.3f" % v.coords.lksy) + print("X = %.2f" % v.coords.lksx) + print("Y = %.2f" % v.coords.lksy) print("""=== Apskaiciuoti liniju stiliu kurimo parametrai (0.001 tikslumu) === === Kelias A-03 ===