Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 397 Bytes

UnnecessaryFloatInstantiation.md

File metadata and controls

11 lines (6 loc) · 397 Bytes

Pattern: Unnecessary Float instantiation

Issue: -

Description

It is unnecessary to instantiate Float objects. Instead just use the float literal with the F identifier to force the type, such as 123.45F or 0.42f.

Further Reading