Is there anyway to do this in TGF? My percent bar really get screwed up because of this. When I get the percent of the number out of its maximum number, it's usually in decimal form, which would then be rounded.. do numbers even get rounded up? Help me
Edited by the Author.
n/a
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
27th January, 2005 at 03:05:12 -
I think the Maths pocket knife object can save decimals. Look at Clickteam's extension list.
In the past when using percents in TGF, I simply saved the value as, say, 45 for 45%. If a number need to be multiplied by this percent, I simply multiplied it by this value and then divided the whole expression by 100. This way, the rounding doesn't take place until the expression has been evaluated. I'm not sure if this helps, as it may not work for all situations, but it has worked for me in the past.