Re: absolute and this

it might be better to explain what an absolute value is. an absolute value is the value, that x is away from 0. for example; the absolute value of 4 is 4. because 4 is 4 away from 0. likewise, the absolute value of negative 4 is also 4. why? because negative 4 is also 4 away from 0. its not expressed negative because it doesn't matter if the number is negative or positive. you are just worried about how far x is away from 0. hope this helps.
the ways you might need an absolute value varies depending on the language and the type of thing you are trying to code. but refer to post 2 for an example of how to implement it in code.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : jonikster via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector

Reply via email to