From c6c2e8cf4b7eb1d8b8cd819359da210c86fcf5d4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 26 Jun 2022 21:59:55 +0200 Subject: "--" ist nan --- fhunit.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhunit.pas b/fhunit.pas index 7aba5dc..555999c 100644 --- a/fhunit.pas +++ b/fhunit.pas @@ -219,6 +219,8 @@ begin exit; if (t='--') and (mG=mgGlobalstrahlung) then _mW[mG]:=0 + else if t='--' then + _mW[mG]:=nan else _mW[mG]:=strtofloat(t); end; -- cgit v1.2.3-54-g00ecf