- Home /
Question by
tayl0r · Oct 04, 2012 at 03:50 PM ·
monodevelopfloatdouble
Is there a way to make MonoDevelop and Unity default to using the Float type instead of Double?
It's pretty annoying that when you type a decimal number like ".75" or "1.0", Unity and MonoDevelop type it as a double. It seems like you should be able to do some kind of magic so that it gets typed as a float without having to add the "f".
Obviously not a big issue but it would be a bit nicer.
Comment
Best Answer
Answer by Eric5h5 · Oct 04, 2012 at 03:57 PM
No, since that's not how C# works (although it is how Unityscript works).
Your answer

Follow this Question
Related Questions
Physics engine with double precision 0 Answers
UV data type 0 Answers
Convert double to float for Vector3 1 Answer
C# code is making 0.0 a double and not a float 3 Answers
Vector3 using Doubles Instead of Floats 2 Answers