ENG-5013: fix conversion of parameter from java double / float to decima...

...l type.