• 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.

[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