copied some functionality from enGrid and adapted it to DrNUM
added floating point min/max
from enGrid
removed all traces of hard-coded double instead of real