Translations:KDevelop4/Manual/Working with source code/108/en

From KDE UserBase Wiki

It is worth noting that KDevelop extracts the type of the variable to be declared from the expression used to initialize it. For example, if we had written the addition in the following rather dubious way, it would had suggested to declare the variable as type double: