playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Add/Minus Float Percentages
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Add/Minus Float Percentages (Read 3790 times)
4ppleseed
Full Member
Posts: 226
Add/Minus Float Percentages
«
on:
February 28, 2014, 02:39:39 PM »
Hi guys,
I'd really like to see a percentages/float action. Maybe something like:
Float A, add/minus XX%, stored as Float B
That possible?
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Add/Minus Float Percentages
«
Reply #1 on:
February 28, 2014, 04:37:00 PM »
You can use multiply, and just define the amount from 1.0
So, for instance multiply 1000 by .92 will equal 920 which is also 92%. For increase, multiply by 1.15 and it would equal 1150 and you've added 15%.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
(Moderator:
600
) »
Add/Minus Float Percentages