Simplified to_number