Added constructor with float 's.