Error in deluge behaviour: Currency type

Error in deluge behaviour: Currency type

Hi guys! 

It seems there was an update in Zoho deluge scripting, and now we get a error with Currency type field: 

If I use Currency type field as a float type in expression, it works well. If I try to send it as a float parameter to function, the function get "null" value instead. 

Examples:

Contract.Amount is a form field of Currency type

y = Contract.Amount + 1000.00;    - works well, and return the amount increased by 1000, as a float variable.

Now, we define function with float argument: 

string FormatCurrency(float Number) {
....
}

and try to pass Currency type value to it: 

formatted_amount =  thisapp.FormatCurrency (Contract.Amount);  

Now we get NULL as a value of Number inside the function, and it doesn't work properly.  Few days back, it worked well, we got the amount correctly passed to function. 

Now, as a temporary solution, I assign value to float variable, and then pass it to function: 
float_var = 0.0;      - create variable of float type
float_var = Contract.Amount;        - this works well, correct value is taken from currency type
formatted_amount =   thisapp.FormatCurrency (float_var);    - and this works well too. 

But that's very stupid way to pass arguments ;-) 
Either it shall be fixed, or please advise how can I get float value from Currency type field in better way. 

Thanks!