generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

im stupid help me

Previous Thread :: Next Thread 
killerbot29003 is online. killerbot29003
Joined: 04 Oct 2014
Total Posts: 3054
21 Aug 2016 05:48 PM
local nums = {
"k";
"M";
"B";
"T";
"Qd";
"Qn";
"Sx";
"Sp";
"O";
"N";
"De";
"DD";
}
local value = 1334333333335
for i = #nums*3,1,-1 do
if i % 3 == 0 and value < 10^i and value > 10^(i-3) then
print(tostring(value)..nums[i])
break
end
end

doesnt work, basically the thing in miners haven


This siggy is copyrighted ©
Report Abuse
AxonMega is not online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
21 Aug 2016 06:33 PM
Sorry, there's nothing we can do to fix stupidity.
Report Abuse
pullman45 is not online. pullman45
Joined: 09 Jul 2012
Total Posts: 2891
21 Aug 2016 08:57 PM
Why, just why?

Do you want the letters to go one by one?
Report Abuse
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
21 Aug 2016 09:06 PM
get the exponent:

math.floor(math.log10(math.abs(num))) then get it like that
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image