Getting the denominator

killingdyl

Active Member
Reaction score
6
Ok how would i go about getting the denominator of a fraction?
For those who failed math or forgot: Denominator is the bottom part of a fraction: 5/3 its 3
 

CungPowCow

Cool Member
Reaction score
6
What kind of trigger are you trying to make that requires getting the denominator?

Incase of an integer/real variable, just Set Your_Var = Your_Denominator, and use your variable for anything you need.
 

Bogrim

y hello thar
Reaction score
154
The game doesn't work with fractions like you illustrated, and can only be achieved by real numbers.
 

killingdyl

Active Member
Reaction score
6
lol cuz i need to get the denominator forthe number of rotations, i guess ill just make it so you have to give both and it will be combined later


EDIT: PROBLEM! 5/3 gives a continueing number but wont work for some reason, 1.6666 and 1.667 works tho. HOW WOULD I FIX THIS!
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
maybe you should just tell us what you wanna do, i believe we can make your life alot easier then.
 

tooltiperror

Super Moderator
Reaction score
231
Of course, you can always convert fractions and integers.

[LJASS]
1/5 = .20[/LJASS]

[LJASS]24/92 = 0.260869565[/LJASS]

[LJASS]1/10 = .10[/LJASS]

[LJASS]2 1/10 = 2.10
[/LJASS]
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top