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

[ANSWERED] Math are should have functions?

i want to make a weird game...but i dont know how to make a positive number to a negative number... can you make me an answer to help meh?

2 comments

0

Ah yes, mental abuse to humans. This question is great

0

oh

1 answer

✓ Accepted answer

Lets consider variable "number" is the positive number, you can just multiply it with -1 to make it negative or you could also just put a dash in front of it.

number = number * -1

or

number = -number

3 comments

0

i could test it

0

Glad it works. :)

0

really

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