added toInt / toFloat