How would I have a number such as 62.222
or so round to the nearest tenth in Graal D;?
So the number should be 62.
I’m just more or less trying to force it to use absolutely no decimal
(For damage and health and all that junk x_X)
I’m not all that amazing at math compared to anybody here at all ]: (( I suck at math ))
More or less, help me with a formula? x:
does it have something to do with abs considering I want an absolute? D:
((Also just to help me out maybe give me some e-book links for mathematics? :x ))
Nevermind I found out ^-^!
Now if test is 99 it will be 999 absolute well, in general no matter what it will be absolute with no decimal
I’m sure there is a better number to use considering it’s repedative D:
But, I’m not the best, and it works so far, I’ll just change it later when I learn more :>
int ( 62.222 ) = 62
int (62.222 + 0.5) = 62 (Its below 0.5, what did you expect?)
int(62.222 * 10) / 10 = 62.2
One of the only things that I don’t understand to much is Math functions other than math functions I’m fine in most other things :o
A minute ago I was having issues with this type of thing
then I learned for that I need to use
absolute ( abs() )
Maybe I’ll get the math part of graal done in like a month that’s all I really have left to learn really, well and save :o
But thank you :]
NINE TIMES NINE EQUALS EEEEEEEEEEEEEEEEIGHTY-ONE!
distance = hypotenuse, cause really. its just a triangle.
D is the sinusoidal axis or linear shift
A is the amplitude
B is 2pi/period
C is the phase shift
Not in a useable graal format
I know, but the title of the thread is math.
100 0110 1110 1010 1001 1011 = 4 647 579
How did you win? Binary can suck the blade of a knife.