Float array into integer array
If I want to pass array of floats into set_task handler, what should I do? Currently, I'm splitting every float into integer and decimal part and storing them in 2 cells ... but I don't have a good feeling about that.
Is there a sort of a raw binary function that could do this?? Cheers! |
Re: Float array into integer array
No need to use enum().
It should be enough, I think. Code:
|
Re: Float array into integer array
A lot of thanks, Arkshine!
+karma |
Re: Float array into integer array
But if i'd like to send mixed contents? :)
|
Re: Float array into integer array
I would do with an enum(), I think. :mrgreen:
Code:
And it returns : Code:
[Untitled.amxx] fValue = 14.25 | iValue = 10 | String = Hello word! |
Re: Float array into integer array
No not really - just integers and floats.
Thanks again ... both of your comments were very useful. |
| All times are GMT -4. The time now is 11:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.