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
Linear Mode
How to extract Float to Integer
Konstantinos
Spam Machine
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
#9
31.05.2014, 10:29
Quote:
Originally Posted by
Vince
floatfract
is what you need.
It's still float though and it is just 0.xxxxxx
Making the float a string and then getting the demical part with sscanf seems good way to extract them.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
How to extract Float to Integer
- by
Raefal
- 31.05.2014, 08:44
Re: How to extract Float to Integer
- by
Calgon
- 31.05.2014, 08:50
Re: How to extract Float to Integer
- by
Raefal
- 31.05.2014, 08:54
Re: How to extract Float to Integer
- by
Calgon
- 31.05.2014, 08:55
Re: How to extract Float to Integer
- by
KeNTos
- 31.05.2014, 08:57
Re: How to extract Float to Integer
- by
Raefal
- 31.05.2014, 09:07
Re: How to extract Float to Integer
- by
Calgon
- 31.05.2014, 09:15
Re: How to extract Float to Integer
- by
Vince
- 31.05.2014, 10:01
Re: How to extract Float to Integer
- by
Konstantinos
- 31.05.2014, 10:29
Re: How to extract Float to Integer
- by
Calgon
- 31.05.2014, 10:31
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