#nullable enable namespace Spark.Core.Math; public enum RoundingMode { None, // Round to the closest integer (up if decimal part is >= 0.5, otherwise down) Closest, // Round up Up, // Round down Down, // Round positive numbers up, and negative numbers down AbsUp, // Round positive numbers down, and negative numbers up AbsDown }