float to double

Signed-off-by: Daniel T. Borelli <daltomi@aol.com>
fix examples