View Single Post
  #24  
Old December 4th, 2006, 02:24 AM
DeadMilkman's Avatar

DeadMilkman DeadMilkman is offline
Private
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
DeadMilkman is on a distinguished road
Default Re: Component.txt Knowledge Base

Ok, what I am attempting is to change master computers to be slightly like SEIV, meaning that as you reasearch them, the space used goes down. I have tried several variations to get the Tonnage to drop in 10Kt increments , but they do not seem to work. Here is an example:
40 - ((int(([%Level%] - 1)) / 7) * 10)
have also tried it using trunc(), and several variations of nesting.

The problem is that neither int() nor trunc() seem to actually work, so the tonnage is decreasing by 2 or 3 Kt increments, instead of 10Kt every few levels as intended.

Any suggestions?
Thanks!
__________________
It's not what you know...
It's not who you know...
It's what you know about who you know.
Reply With Quote