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

How can I change Real

Status
Not open for further replies.
Level 2
Joined
Jan 6, 2020
Messages
12
How do I view Real as an integer in multiboard?

It's been a long time since I've used Trigger. I don't remember if that's possible.

- Since my English is not very good, I translate using google translate. I hope I can.
Have fun.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
To round positive reals to "nearest" add 0.5 to them before conversion. For negative reals subtract 0.5 from them before conversion.

There should also be a formatted real conversion which allows one to specify the precision of the output in decimal places, useful if one wants some fractional precision but not to a lot of decimal places.
 
Level 8
Joined
May 21, 2019
Messages
435
To round positive reals to "nearest" add 0.5 to them before conversion. For negative reals subtract 0.5 from them before conversion.
And here I was wondering what kind of methods one could invoke to accomplish this… lol. Humbling.
 
Status
Not open for further replies.
Top