From 15ba647b6e61c6d132c76f98fef217c9a954f7bd Mon Sep 17 00:00:00 2001 From: pux Date: Mon, 22 Mar 2021 01:11:26 +0100 Subject: output m -> cm --- calctenna.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calctenna.py') diff --git a/calctenna.py b/calctenna.py index 88a6758..0ca70d2 100755 --- a/calctenna.py +++ b/calctenna.py @@ -109,8 +109,8 @@ if __name__ == '__main__': if not args.quiet: print("Desired Frequency: " + str(antenna_data.frequency) + " Hz") print("Wavelength: %.3f m" % antenna_data.wavelength) - print("Wavelength / 2: %.3f m" % antenna_data.wavelength_2) - print("Wavelength / 4: %.3f m" % antenna_data.wavelength_4) + print("Wavelength / 2: %.3f cm" % (antenna_data.wavelength_2*100)) + print("Wavelength / 4: %.3f cm" % (antenna_data.wavelength_4*100)) print("Velocity factor: " + str(antenna_data.velocity_factor)) print("-> Dipole leg length (lambda/4): ", end='') - print("%.3f m" % antenna_data.dipole_leg_length) + print("%.3f cm" % (antenna_data.dipole_leg_length*100)) -- cgit v1.2.2-1-g5e49