Click or drag to resize

DistanceInt32Value Method

Returns the distance value, rounded to the nearest integer.

Namespace:  DegreeDays.Geo
Assembly:  DegreeDays (in DegreeDays.dll) Version: 1.3
public int Int32Value()

Return Value

Type: Int32
OverflowExceptionThe value stored internally is greater than 2,147,483,647 (the largest allowed Int32), or less than -2,147,483,648 (the smallest allowed Int32). Since the smallest distance unit this class works with is feet, and the largest possible integer is over 16 times larger than the circumference of the earth in feet, you are very unlikely to reach the limits of Int32 if you are working with earthly distances.
See Also