changed StkFloat to double