MathUtilTruncate Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Truncates a double value, removing any fractional digits.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static double Truncate(
double value
)
Public Shared Function Truncate (
value As Double
) As Double
Parameters
- value
- Type: SystemDouble
The value to be truncated.
Return Value
Type:
DoubleThe truncated value.
Examples double floatNumber;
floatNumber = 32.7865;
Console.WriteLine(MathUtil.Truncate(floatNumber));
See Also