comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Trivial question: how to avoid confusing sec, min, hour and day in a program?
Date: Mon, 6 Sep 2021 15:43:45 +0200	[thread overview]
Message-ID: <sh55uj$6uv$1@dont-email.me> (raw)
In-Reply-To: <nnd$563ecd8c$31afcc12@91591a5cbc3e1e9a>

Le 06/09/2021 à 15:06, ldries46 a écrit :
>> If calculations are involved, they are performed in SI, because 
>> otherwise you need factors in all formulae. And SI means no mm, but m, 
>> no km/h, but m/s etc.
> Sorry but It should perhaps be so but it is not. Programs made primarily 
> for Aircraft engineering (f.i. CATIA 5/6) do use mm and your velocity 
> clock in your car shows km/h and it registers the distance in km (in 
> England and the USA mph and miles) In aircraft the Speed is often still 
> measured in Knots (Nautical miles per hour). Maybe French aircraft will 
> possibly show km/h. It is to hazardous to change this

Do not confuse computations with input/output. I agree with Dmitry, all 
computations should be performed in SI, with a (user selectable) choice 
of units for input and display.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52
https://www.adalog.fr

  reply	other threads:[~2021-09-06 13:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05  6:56 Trivial question: how to avoid confusing sec, min, hour and day in a program? reinert
2021-09-05  7:27 ` Dmitry A. Kazakov
2021-09-05 12:42   ` Niklas Holsti
2021-09-06  7:20   ` ldries46
2021-09-06  9:47     ` Dmitry A. Kazakov
2021-09-06 13:06       ` ldries46
2021-09-06 13:43         ` J-P. Rosen [this message]
2021-09-06 14:13           ` ldries46
2021-09-06 15:10             ` Dennis Lee Bieber
2021-09-06 15:55       ` AdaMagica
2021-09-08 22:00     ` Shark8
2021-10-24  6:52   ` reinert
2021-10-24  7:24     ` J-P. Rosen
2021-10-24 10:39       ` Jeffrey R.Carter
2021-10-24 10:08     ` G.B.
2021-10-24 10:48     ` Simon Wright
2021-10-24 12:09     ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox