Jump to content
Sign in to follow this  
DevPro

STR() returns Arithmetic overflow

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...