Search the Community
Showing results for tags 'Decimal'.
-
Hello, i am working on a cryptocurrency trading calculator, and because the tradings are based on bitcoin it has to manipulate 8 decimal numbers ex: 0.00000222 The problem is that when the bot is doing some math calculations it converts this numbers to exponential numbers and then does not recognize them as numbers anymore but as strings. How can i stop the bot transform the numbers from decimal to exponential ex: 0.00000222 to 2.22E-06
-
I want a randomly generated number in decimal. When I try this: ui button("Click me for a random number") { set(#output, $rand(1.0, 9.9), "Local") } I always get back a whole number, not a decimal. Is there anyway to have it not round up?