Input floating means digital input without pull-up or pull-down, but connected to the internal Schmitt Trigger. When unused such a pin might catch some noise from the external world , i.e. triggering the Schmitt Trigger, which causes unwanted current consumption.
Therefore unused GPIOs should be configured in analog mode, if the total current consumption of the STM32 is of importance.
BTW: devices prior STM32L476 were configured by default to (digital) input floating, newer derivatives are mostly already set to analog input. To avoid confusion, it is still recommended to explicitly configure unused GPIOs for analog mode.
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.