Working floating point example