specified the number type float instead of double.

Change-Id: I5336e8c738fe896c52865ac5f385a8b606889b1c