[PLAT-6523] Improved error msg (Ian)
[PLAT-6522] Fix for class conversion issue. Now uses Double rather than Integer literal. (Ian)