This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
At the moment with code private float f = .5; editor provides 2 hints: 1. Cast .5 to float 2. Change type of f to double New hint "Declare .5 as .5f" or something like that should be introduced. Moreover I think this is the most frequently used case for developer so it should be placed at the top of provided hints.