On Wednesday, 30 June 2021 at 03:51:47 UTC, Mathias LANG wrote:
or use `std.math.isNaN`.
```d import std.math : isNaN; float lnumStockPricePreceding; foreach (float lnumStockPrice; ludtStockPriceEvolution.range) if (! isNan(lnumStockPricePreceding)) { /// do something } lnumStockPricePreceding = lnumStockPrice; } ```... is far from pretty but it works as expected, thanks for your tip !