Cast variable type?
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
-
- Cave Troll
- Posts: 36
- Joined: Sat May 19, 2012 3:41 pm
Cast variable type?
Is there a way to convert a BigInt into a float in scripts?
Re: Cast variable type?
Multiply it by 1.0.
Code: Select all
[h: mybigint = 100]
[h: mybigfloat = mybigint * 1.0]
[r: mybigfloat]