• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Round up or down

Status
Not open for further replies.
Hello everyone is it possible to round up or down a number using real or integer.

Because here is my equation
  • Actions
    • Set LEVEL = 1
    • Set EXPREQUIRED = (((Real(LEVEL)) + 300.00) x ((Power(2.00, ((Real(LEVEL)) / 7.00))) x 0.25))
    • Set TOTALEXP = (EXPREQUIRED + ((Real(LEVEL)) x EXPREQUIRED))
it comes up with 83.03...
this is the number i need but i do not need the .03...
is there anyway to get rid of it, without doing -0.3....
due to it changes when the LEVEL variable changes.

Thanks guys.
 
Status
Not open for further replies.
Top