int to float?
I need to turn integers into floats so that they can be manipulated correctly, but i cant find a num_to_float or int_to_float function or something similar. Is there another way besides converting them to a string then a float?
|
Use float(integer):
Code:
|
You can just cast it:
Code:
|
Quote:
|
thank you thank you
|
| All times are GMT -4. The time now is 16:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.