Can I use floating-point numbers in my program?

Yes, the C18 compiler supports both integers and floating-point decimal values. Keep in mind, however, that integer math is much faster than floating-point math. The floating-point math libraries are not implemented in hardware, but in software, which means that they are very slow. For a list of floating point math library routines please refer to page 131 of the “MPLAB® C18 C Compiler Libraries” document from Microchip.