Concept Flow - Integer and floating-point types
Start
Declare variable
Assign integer value?
Yes→Variable stores integer
Use integer operations
Assign floating-point value?
Yes→Variable stores float
Use float operations
Error or other type
End
This flow shows how a variable in PowerShell can hold either an integer or a floating-point number depending on the assigned value, and how operations depend on the type.