vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 10 Jun 2014 02:50 AM |
Does it use math.floor or math.ceil?
math.floor(Amount*0.3)*100
Or
math.ceil(Amount*0.3)*100 |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 10 Jun 2014 02:54 AM |
If you want to round something you can always do
math.floor((amount*.3)+.5)*100
I don't know what you want. |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 10 Jun 2014 03:07 AM |
| I dont know what roblox formula is for generating player points, math.ceil or math.floor |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
|
| 10 Jun 2014 06:51 AM |
The amount deducted from your income is floored, meaning that the amount of robux sunk in the transaction is equal to math.ceil(Amount*0.3)*100. So you'd use that to calculate your points income.
To get your points budget, you'd best use PointsService:GetAwardablePoints(), though. |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 10 Jun 2014 06:54 AM |
RobuxSpent = 5 ppsGenerated = RobuxSpent * 30 |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
| |
|