Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Just note that ROUND will actually "round" your value. This mean that if the value is 1.38, ROUND(1.38,1)=1.4

 

if you don't wish to actually round the number something else must be made...

 

Alex :p

Software bugs are impossible to detect by anybody except the end user.
Posted

You can limit the display of digits using one of the string formatters:

 

eg. Label1.Text = Amount.ToString("F") - will display just two decimal places.

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.

×
×
  • Create New...