Rewrite and extend functions to manipulate float values
example code: add floating point stuff