Implement Float and Integer getValue methods