12.04.2019, 17:58

Hello, i want to ask you, how to convert number to float.

Example:

In script i save PlayerInfo[playerid][Logic] = 100;

but few lines down i need to get Logic converted to float like 100.0

Any ideas how to do it?

Thanks!

// EDIT:

Found this, but didnt work

https://sampwiki.blast.hk/wiki/Float

Example:

In script i save PlayerInfo[playerid][Logic] = 100;

but few lines down i need to get Logic converted to float like 100.0

Any ideas how to do it?

Thanks!

// EDIT:

Found this, but didnt work

https://sampwiki.blast.hk/wiki/Float