Defalt value on parameter

the default value parameter is not being considered in type double
attached exampleWindowsApplication2.rar (105.2 KB)

if the parameter is char there is an exception, in this case we are having to put "and not ’

Thanks, logged as bugs://85551

Can I have a hotfix?

bugs://85551 got closed with status fixed.

A quick fix in the version you have: replace 1 with 1.0. The compiler accidentally used the integeral value without converting it to a double. We’ll have a build with this fixed tomorrow.

and this case, please verifie