Added two functions to Floatextension.