Fix accessing array in PrintFloat by char instead of int.