Jump to content

STR() returns Arithmetic overflow


DevPro
 Share

Recommended Posts

Hi,

I am doing a conversion of a numeric value 999999999999999 to string using the STR() function as STR(999999999999999,15). However, it returns just * signs. When the precision is changed to 16 from 15 it works. Also when the value goes <=999999999999997 it works. Using the CAST() instead of STR() also does the job.

Why is this not working for STR(999999999999999,15)?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...