Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Threaded Mode
how to get a % of a number
The_Gangstas
Huge Clucker
Posts: 482
Threads: 84
Joined: Nov 2010
Reputation:
0
#1
26.11.2010, 21:17
e.g how to get 45% of 215?
in a calculator i would use 215 x 45%
but how to do in it pawn?
Find
Reply
Kyle
High-roller
Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
#2
26.11.2010, 21:18
In a varible,
new final;
final = 245 * 45/100;
Find
Reply
Retardedwolf
High-roller
Posts: 1,466
Threads: 7
Joined: Jun 2009
Reputation:
0
#3
26.11.2010, 21:20
(
Последний раз редактировалось Retardedwolf; 26.11.2010 в 21:32.
)
( 45 / 100 ) * 215
Find
Reply
ExEx
Little Clucker
Posts: 49
Threads: 9
Joined: Sep 2010
Reputation:
0
#4
26.11.2010, 21:24
215 * 45/100
Find
Reply
Bessensap
Big Clucker
Posts: 178
Threads: 13
Joined: Sep 2009
Reputation:
0
#5
26.11.2010, 21:37
45/100 * 215
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive