Use ValueAsNumber instead of float