Jump to content
UBot Underground

Is it possible to increment at a decimal place


Recommended Posts

ui text box("type amount"#amount)
ui stat monitor("result:"#conversion)
set(#conversion1$multiply(#amount, 100), "Global")
increment(#conversion1)
set(#conversion$divide(#conversion1, 100), "Global")

 

 

one way...

Link to post
Share on other sites

set(#result2$divide($add($multiply(35.01, 100), 1), 100), "Global")

 

Or

 

ui text box("amount2:"#amount2)
ui stat monitor("result2"#result2)
set(#conv1$multiply(#amount2, 100), "Global")
loop(105) {
    increment(#conv1)
}
set(#result2$divide(#conv1, 100), "Global")

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