Working on an XNA game, I'm using float for most of my number values. Most C# functions seem to input/output doubles so I'm writing (float) a lot. Should I just be using Doubles or is how I'm working OK?
You should be using doubles. They are more accurate than single precision floats and there will be an overhead for casting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With