# floatValue

> Value of a float property.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public float floatValue { get; set; }
```

### Remarks

Contains a valid value when [SerializedProperty.propertyType](/engine/6000.7/script-reference/unityeditor/serializedproperty/propertytype.md) is [SerializedPropertyType.Float](/engine/6000.7/script-reference/unityeditor/serializedpropertytype/float.md). For accessing float properties. If you are accessing double precision properties use [SerializedProperty.doubleValue](/engine/6000.7/script-reference/unityeditor/serializedproperty/doublevalue.md) instead.

Additional Resources: [SerializedProperty.doubleValue](/engine/6000.7/script-reference/unityeditor/serializedproperty/doublevalue.md), [SerializedProperty.propertyType](/engine/6000.7/script-reference/unityeditor/serializedproperty/propertytype.md), [SerializedPropertyType.Float](/engine/6000.7/script-reference/unityeditor/serializedpropertytype/float.md), [SerializedPropertyNumericType.Float](/engine/6000.7/script-reference/unityeditor/serializedpropertynumerictype/float.md).
