Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a decimal number? (5.353542525e-% to 5.35%)

Im not really shure what to do. Can you mabye pls help?

Any Tips?

1 answer

use math.floor, something like this

value = 5.353542525
local num = math.floor(value * 100)/100

3 comments

0

Alright, lets hope it works

0

It isnt working but I got idea

0

are you remembering the "/100" after the math.floor?

This discussion is preserved as it was. New answers, comments, and votes are closed.