Jump to content
McKay Development

Get accurate CS:GO skin wear value


TheRedMelon

Recommended Posts

First of all I'm using C#, not node.js; I'm not sure where to ask so I thought I'd try here.

 

I have the 'SkinData.paintwear' value as a uint from CS:GO.  I'd like to show it as an accurate 16 decimal place value, but I can't figure out how.

So far I have:

Convert.ToDouble(BitConverter.ToSingle(BitConverter.GetBytes(client.SkinData.paintwear), 0))

But this returns only 15 decimal places, and the 15th is rounded.

How can I get the extra decimal place?

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
×
×
  • Create New...