Login Page - Create Account

Support Board


Date/Time: Mon, 04 Nov 2024 10:23:27 +0000



Post From: Suggestion to remove compiler warnings C26451 for Round() in sierrachart.h

[2023-11-30 22:00:18]
User719512 - Posts: 256
It's the f in 0.0f that makes the compare a float/float in my suggestion for Round() rather than 0.0 which is a double and makes the compare float/double and gives C26451.
The code work of course as-is, but with the warning.

Thanks again for taking a look.