Prettify predefined numbers

If the predefined values are [0, 10, 20, 30, 40] , the prettify option doesn't work.

This change will check that the values are numbers and if they are, prettify them.