arithmetic overflow error converting float to data type numeric

Why I get the following error message when I try to execute a function which has decimal as input parameters and float as output parameter?

arithmetic overflow error converting float to data type numeric
dionisio_79Asked:
Who is Participating?
 
ToddBeaulieuConnect With a Mentor Commented:
A float is a 32-bit value.
Numeric is 128 bits.

Take a peek at the MSDN documentation for the data types. It may be a bit boring, but it's important to use the right types.

http://msdn.microsoft.com/en-us/library/s1ax56ch(v=VS.80).aspx
0
 
Dale BurrellDirectorCommented:
You have to show us your code, and the value thats causing the problem for us to help with that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.