added toFloat