support passing float64 type