This is a migrated thread and some comments may be shown as answers.

User defined function not working for float,double

0 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abiri Masoni
Top achievements
Rank 1
Abiri Masoni asked on 26 Apr 2010, 02:30 PM

hi all!
I'm trying to use a user-defined function in Telerik Reporting Q2 2009. but i get an error message "Undefined function call" when i use float or double as an argument in the function.
My function is
public static float Myfloat(float x)
        {
            return x;
        }

which i call using
=MyFloat(16.5)

BTW, if a change it like this

public static float Myfloat(int x)
        {
            return x;
        }

which i call using
=MyFloat(16)

it works fine.

What may be the problem? Thnx so much.

 

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Abiri Masoni
Top achievements
Rank 1
Share this question
or