ValueMath Class
Provides static methods for common mathematical functions for types implementing IValueProvider.
This class is an wrapper of native Math class in .NET Framework and enables the capturing of arguments. This library focuses on simpler business related calculations hence many trigonometric or logarithmic functions ar ommited at the moment.
AbsT | Returns the absolute value of a Value. |
CeilingT | Returns the smallest integral value that is greater than or equal to the specified underlying decimal number. |
FloorT | Returns the largest integral value less than or equal to the specified underlying decimal number. |
MaxT | Returns the larger of two values. |
MinT | Returns the smaller of two values. |
RoundT |
Rounds a decimal value to a specified underlying number of fractional digits, and rounds midpoint values to the nearest even number.
|
TruncateT | Calculates the integral part of a specified underlying decimal number. |