# NumericIntent struct

Namespace: [Grasshopper2.Types.Numeric](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.numeric.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public struct NumericIntent
```

A type for reverse engineering the intent behind a specific double value.

## Constructors

- [NumericIntent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/ctor.md): Create a new numeric intention wrapper.

## Properties

- [AsFraction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/asfraction.md): Gets the number as a fraction. If the number cannot be nicely represented as a ratio of integers, an unset fraction will be returned.
- [AsIntegralRoot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/asintegralroot.md): Gets the integral root set for this number. Both parts of the returned tuple will be zero if this value is not the root of some integer.
- [IsFinite](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isfinite.md): Gets whether the number is finite in magnitude.
- [IsFraction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isfraction.md): Gets whether this value is near a fraction.
- [IsInteger](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isinteger.md): Gets whether the number is integral.
- [IsIntegralRoot](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isintegralroot.md): Gets whether this number can be represented as the root of an integer.
- [IsNearInteger](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isnearinteger.md): Gets whether this value is near an integer.
- [IsNearZero](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isnearzero.md): Gets whether the number is close to zero.
- [IsNegative](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isnegative.md): Gets whether the value is positive.
- [IsPositive](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/ispositive.md): Gets whether the value is positive.
- [IsValid](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isvalid.md): Gets whether the number is valid, i.e. not NaN.
- [Number](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/number.md): The original number.

## Methods

- [IsIntegerMultipleOfConstant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isintegermultipleofconstant.md): Gets whether this number is an integral multiple of some constant.
- [IsRationalMultipleOfConstant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.numeric.numericintent/isrationalmultipleofconstant.md): Gets whether this number is a rational multiple of some constant.
