code gardening
allow explicit casts from enum to floating point numbers