menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Absolute Value
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Absolute Value
FroggoBLOX
Join Date: 2012-09-22
Post Count: 6870
#141137929
Tuesday, July 22, 2014 5:03 AM GMT
Is it possible to return the absolute value of a given number? I'm a frog... ribbit!
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
128GB
Join Date: 2014-04-17
Post Count: 8056
#141137986
Tuesday, July 22, 2014 5:04 AM GMT
a = -1 b = 1 print(math.abs(a)) -->1 print(math.abs(b)) -->1
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
FroggoBLOX
Join Date: 2012-09-22
Post Count: 6870
#141138118
Tuesday, July 22, 2014 5:05 AM GMT
Ok, thanks! I'm a frog... ribbit!
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right