---
title: "CFNumberIsFloatType(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfnumberisfloattype(_:)"
---

# CFNumberIsFloatType(_:)

Determines whether a CFNumber object contains a value stored as one of the defined floating point types.

## Declaration

```swift
func CFNumberIsFloatType(_ number: CFNumber!) -> Bool
```

## Parameters

- `number`: The CFNumber object to examine.

## Return Value

Return Value true if number’s value is one of the defined floating point types, otherwise false. The valid floating point types are listed in CFNumberType.

## See Also

### Getting Information About Numbers

- [CFNumberGetByteSize(_:)](corefoundation/cfnumbergetbytesize(_:).md)
- [CFNumberGetType(_:)](corefoundation/cfnumbergettype(_:).md)
- [CFNumberGetValue(_:_:_:)](corefoundation/cfnumbergetvalue(_:_:_:).md)
