Jump to content
Developer Wiki and Function Reference Links ×

format string note


Recommended Posts

what if… (this may sound dumb(or be dumb!), so apologies in advance)

say you wanted 3 decimal places.

1. multiply number by number of powers

2. covert to integer

3. convert to real number

4. divide by number of powers

so, say 14.235678465……

x 1000 = 14235.678465……

convert to integer = 14235

convert to real number = 14235.0...

/1000 = 14.235

a little bit clunkerty but...

Link to comment

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.   Restore formatting

  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...