I apologize is this is a duplicate and I just could not phrase the question properly to find it.
This seems like a trivial task but I was looking for a simple way to chop everything after the decimal place off my doubles.
I tried using the % operator, but it fails on negatives, and all the Math.Round functions round away from 0 (or evenly) instead of to 0.
I realize I could construct such a function from the math I have available to me, but I was hoping there was an implementation in place so I did not have to write a long line of Math.Floor and/or Math.Abs
?