float rules in c code example Example 1: c declare float float variable; Example 2: what is float in c A float is a number with a decimal point.