---
layout: doc
title: floats / floatp
---
# floatp

### NAME

    floatp() - determine whether or not a given variable is a float

### SYNOPSIS

    int floatp( mixed arg );

### DESCRIPTION

    Return 1 if 'arg' is a float number and zero (0) otherwise.

### SEE ALSO

    mapp(3),  stringp(3),  pointerp(3),  objectp(3),  intp(3),  bufferp(3),
    functionp(3), nullp(3), undefinedp(3), errorp(3)

